mkl-devel-dpcpp 2025.1.0__py2.py3-none-win_amd64.whl → 2025.2.0__py2.py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mkl-devel-dpcpp might be problematic. Click here for more details.

Files changed (103) hide show
  1. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl.lib +0 -0
  2. mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_dft_dll.lib +0 -0
  3. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_dll.lib +0 -0
  4. mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_lapack_dll.lib +0 -0
  5. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_rng_dll.lib +0 -0
  6. mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_sparse_dll.lib +0 -0
  7. {mkl_devel_dpcpp-2025.1.0.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/METADATA +4 -3
  8. mkl_devel_dpcpp-2025.2.0.dist-info/RECORD +15 -0
  9. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/bfloat16.hpp +0 -26
  10. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/buffer.hpp +0 -42
  11. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/buffer_decls.hpp +0 -880
  12. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/spec.hpp +0 -42
  13. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/types.hpp +0 -60
  14. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/usm.hpp +0 -42
  15. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas/usm_decls.hpp +0 -1240
  16. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/blas.hpp +0 -34
  17. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/dft/spec.hpp +0 -42
  18. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/dft.hpp +0 -254
  19. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/dfti.hpp +0 -22
  20. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/exceptions.hpp +0 -110
  21. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/experimental/data_fitting/interpolate.hpp +0 -67
  22. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/experimental/data_fitting/spline_and_data_params.hpp +0 -68
  23. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/experimental/data_fitting/splines.hpp +0 -177
  24. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/experimental/data_fitting.hpp +0 -22
  25. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/export.hpp +0 -25
  26. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack/concepts.hpp +0 -55
  27. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack/exceptions.hpp +0 -75
  28. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack/lapack.hpp +0 -1096
  29. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack/scratchpad.hpp +0 -107
  30. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack/spec.hpp +0 -42
  31. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/lapack.hpp +0 -24
  32. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/detail/engine_base.hpp +0 -48
  33. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/bernoulli_impl.hpp +0 -89
  34. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/beta_impl.hpp +0 -463
  35. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/bits_impl.hpp +0 -71
  36. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/distribution_base.hpp +0 -85
  37. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/engine_base.hpp +0 -43
  38. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/engine_helpers_base.hpp +0 -54
  39. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/exponential_impl.hpp +0 -116
  40. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/gamma_impl.hpp +0 -285
  41. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/gaussian_impl.hpp +0 -270
  42. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/geometric_impl.hpp +0 -99
  43. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/lognormal_impl.hpp +0 -105
  44. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg31m1_helpers_impl.hpp +0 -117
  45. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg31m1_impl.hpp +0 -223
  46. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg59_helpers_impl.hpp +0 -118
  47. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg59_impl.hpp +0 -266
  48. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_helpers_impl.hpp +0 -125
  49. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_impl.hpp +0 -385
  50. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_skip_ahead_matrix.hpp +0 -3668
  51. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/philox4x32x10_helpers_impl.hpp +0 -141
  52. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/philox4x32x10_impl.hpp +0 -552
  53. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/poisson_impl.hpp +0 -328
  54. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/types.hpp +0 -58
  55. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/uniform_bits_impl.hpp +0 -51
  56. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/uniform_impl.hpp +0 -287
  57. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/detail/vm_wrappers.hpp +0 -183
  58. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/distributions.hpp +0 -700
  59. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/engine_helpers.hpp +0 -116
  60. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/engines.hpp +0 -187
  61. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/functions.hpp +0 -59
  62. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device/types.hpp +0 -79
  63. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/device.hpp +0 -29
  64. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/distributions.hpp +0 -1913
  65. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/engines.hpp +0 -788
  66. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/functions.hpp +0 -163
  67. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng/spec.hpp +0 -42
  68. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/rng.hpp +0 -23
  69. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spblas/sparse_auxiliary.hpp +0 -111
  70. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spblas/sparse_operations.hpp +0 -446
  71. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spblas/sparse_structures.hpp +0 -193
  72. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spblas/spec.hpp +0 -42
  73. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spblas.hpp +0 -33
  74. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/spec.hpp +0 -42
  75. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/stats/spec.hpp +0 -42
  76. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/stats.hpp +0 -357
  77. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/types.hpp +0 -321
  78. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/buffer.hpp +0 -3529
  79. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/decls.hpp +0 -280
  80. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/decls.hpp +0 -81
  81. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/dispatch.hpp +0 -1059
  82. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/ep.hpp +0 -861
  83. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/ha.hpp +0 -860
  84. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/la.hpp +0 -860
  85. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/rts.hpp +0 -4608
  86. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/detail/scalar.hpp +0 -8963
  87. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/device/vm.hpp +0 -460
  88. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/span.hpp +0 -3813
  89. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/spec.hpp +0 -42
  90. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm/usm.hpp +0 -3581
  91. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl/vm.hpp +0 -31
  92. mkl_devel_dpcpp-2025.1.0.data/data/Library/include/oneapi/mkl.hpp +0 -35
  93. mkl_devel_dpcpp-2025.1.0.data/data/Library/lib/mkl_sycl_dft_dll.lib +0 -0
  94. mkl_devel_dpcpp-2025.1.0.data/data/Library/lib/mkl_sycl_lapack_dll.lib +0 -0
  95. mkl_devel_dpcpp-2025.1.0.data/data/Library/lib/mkl_sycl_sparse_dll.lib +0 -0
  96. mkl_devel_dpcpp-2025.1.0.dist-info/RECORD +0 -99
  97. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_blas_dll.lib +0 -0
  98. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_data_fitting_dll.lib +0 -0
  99. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_stats_dll.lib +0 -0
  100. {mkl_devel_dpcpp-2025.1.0.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_vm_dll.lib +0 -0
  101. {mkl_devel_dpcpp-2025.1.0.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/LICENSE.txt +0 -0
  102. {mkl_devel_dpcpp-2025.1.0.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/WHEEL +0 -0
  103. {mkl_devel_dpcpp-2025.1.0.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/top_level.txt +0 -0
@@ -1,34 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2018 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef _BLAS_HPP__
16
- #define _BLAS_HPP__
17
-
18
- #ifndef MKL_BLAS_COMPUTE_MODE
19
- #define MKL_BLAS_COMPUTE_MODE compute_mode::unset
20
- #endif
21
-
22
- #include <sycl/sycl.hpp>
23
- #include <cstdint>
24
- #include <complex>
25
-
26
- #include "oneapi/mkl/types.hpp"
27
- #include "oneapi/mkl/exceptions.hpp"
28
-
29
- #include "oneapi/mkl/blas/types.hpp"
30
- #include "oneapi/mkl/blas/buffer.hpp"
31
- #include "oneapi/mkl/blas/usm.hpp"
32
- #include "oneapi/mkl/blas/spec.hpp"
33
-
34
- #endif /* _BLAS_HPP__ */
@@ -1,42 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2025 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- /*
16
- ! Content:
17
- ! oneAPI Math Kernel Library (oneMKL) DPC++ interface
18
- !******************************************************************************/
19
-
20
- #ifndef ONEMATH_DFT_SPEC_HPP
21
- #define ONEMATH_DFT_SPEC_HPP
22
-
23
- #include "oneapi/mkl/spec.hpp"
24
-
25
- #if defined(ONEMATH_SPEC_VERSION_NON_COMPLIANT)
26
- #define ONEMATH_DFT_SPEC_VERSION ONEMATH_SPEC_VERSION_NON_COMPLIANT
27
- #else
28
- #error "ONEMATH_SPEC_VERSION_NON_COMPLIANT should be defined"
29
- #endif
30
-
31
- namespace oneapi {
32
- namespace mkl {
33
- namespace dft {
34
-
35
- constexpr auto spec_version =
36
- static_cast<SpecVersion>(ONEMATH_DFT_SPEC_VERSION);
37
-
38
- } // namespace dft
39
- } // namespace mkl
40
- } // namespace oneapi
41
-
42
- #endif /* ONEMATH_DFT_SPEC_HPP */
@@ -1,254 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2024 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef _DFT_HPP_
16
- #define _DFT_HPP_
17
-
18
- #include <cinttypes> // std::int64_t
19
- #include <vector> // std::vector
20
- #include <sycl/sycl.hpp> // sycl::
21
- #include "oneapi/mkl/dft/spec.hpp"
22
- #include "mkl_dfti.h" // DFTI_DESCRIPTOR_HANDLE
23
-
24
- typedef struct SYCL_DFTI_DESCRIPTOR* SYCL_DFTI_DESCRIPTOR_HANDLE;
25
-
26
- namespace oneapi {
27
- namespace mkl {
28
- namespace dft {
29
-
30
- enum class precision {
31
- SINGLE = DFTI_SINGLE,
32
- DOUBLE = DFTI_DOUBLE
33
- };
34
-
35
- enum class domain {
36
- REAL = DFTI_REAL,
37
- COMPLEX = DFTI_COMPLEX
38
- };
39
-
40
- enum class config_param {
41
- FORWARD_DOMAIN = DFTI_FORWARD_DOMAIN,
42
- DIMENSION = DFTI_DIMENSION,
43
- LENGTHS = DFTI_LENGTHS,
44
- PRECISION = DFTI_PRECISION,
45
- FORWARD_SCALE = DFTI_FORWARD_SCALE,
46
- BACKWARD_SCALE = DFTI_BACKWARD_SCALE,
47
- NUMBER_OF_TRANSFORMS = DFTI_NUMBER_OF_TRANSFORMS,
48
- COMPLEX_STORAGE = DFTI_COMPLEX_STORAGE,
49
- CONJUGATE_EVEN_STORAGE [[deprecated]] = DFTI_CONJUGATE_EVEN_STORAGE,
50
- PLACEMENT = DFTI_PLACEMENT,
51
- INPUT_STRIDES [[deprecated("Use FWD/BWD strides instead.")]]
52
- = DFTI_INPUT_STRIDES,
53
- OUTPUT_STRIDES [[deprecated("Use FWD/BWD strides instead.")]]
54
- = DFTI_OUTPUT_STRIDES,
55
- FWD_DISTANCE = DFTI_FWD_DISTANCE,
56
- BWD_DISTANCE = DFTI_BWD_DISTANCE,
57
- WORKSPACE = DFTI_WORKSPACE,
58
- PACKED_FORMAT [[deprecated]] = DFTI_PACKED_FORMAT,
59
- COMMIT_STATUS = DFTI_COMMIT_STATUS,
60
- VERSION [[deprecated]] = DFTI_VERSION,
61
- THREAD_LIMIT = DFTI_THREAD_LIMIT,
62
- DESTROY_INPUT = DFTI_DESTROY_INPUT,
63
- WORKSPACE_ESTIMATE_BYTES,
64
- WORKSPACE_BYTES,
65
- FWD_STRIDES,
66
- BWD_STRIDES,
67
- WORKSPACE_PLACEMENT, // alias for WORKSPACE
68
- WORKSPACE_EXTERNAL_BYTES // alias for WORKSPACE_BYTES
69
- };
70
-
71
- enum class config_value {
72
- COMMITTED = DFTI_COMMITTED,
73
- UNCOMMITTED = DFTI_UNCOMMITTED,
74
- COMPLEX_COMPLEX = DFTI_COMPLEX_COMPLEX,
75
- REAL_REAL = DFTI_REAL_REAL,
76
- INPLACE = DFTI_INPLACE,
77
- NOT_INPLACE = DFTI_NOT_INPLACE,
78
- WORKSPACE_AUTOMATIC, // alias for WORKSPACE_INTERNAL
79
- COMPLEX_REAL [[deprecated]] = DFTI_COMPLEX_REAL,
80
- ALLOW = DFTI_ALLOW,
81
- AVOID = DFTI_AVOID,
82
- CCE_FORMAT [[deprecated]] = DFTI_CCE_FORMAT,
83
- PERM_FORMAT [[deprecated]] = DFTI_PERM_FORMAT,
84
- PACK_FORMAT [[deprecated]] = DFTI_PACK_FORMAT,
85
- CCS_FORMAT [[deprecated]] = DFTI_CCS_FORMAT,
86
- WORKSPACE_INTERNAL,
87
- WORKSPACE_EXTERNAL
88
- };
89
-
90
- // Compute functions which will be friends with the descriptor class
91
- template<typename descriptor_type, typename data_type>
92
- void compute_forward(
93
- descriptor_type &desc,
94
- sycl::buffer<data_type, 1> &inout);
95
-
96
- template<typename descriptor_type, typename input_type, typename output_type>
97
- void compute_forward(
98
- descriptor_type &desc,
99
- sycl::buffer<input_type, 1> &in,
100
- sycl::buffer<output_type, 1> &out);
101
-
102
- template<typename descriptor_type, typename data_type>
103
- void compute_backward(
104
- descriptor_type &desc,
105
- sycl::buffer<data_type, 1> &inout);
106
-
107
- template<typename descriptor_type, typename input_type, typename output_type>
108
- void compute_backward(
109
- descriptor_type &desc,
110
- sycl::buffer<input_type, 1> &in,
111
- sycl::buffer<output_type, 1> &out);
112
-
113
- template <typename descriptor_type, typename data_type>
114
- sycl::event compute_forward(
115
- descriptor_type &desc,
116
- data_type *inout,
117
- const std::vector<sycl::event> &dependencies = {});
118
-
119
- template<typename descriptor_type, typename input_type, typename output_type>
120
- sycl::event compute_forward(
121
- descriptor_type &desc,
122
- input_type *in,
123
- output_type *out,
124
- const std::vector<sycl::event> &dependencies = {});
125
-
126
- template <typename descriptor_type, typename data_type>
127
- sycl::event compute_backward(
128
- descriptor_type &desc,
129
- data_type *inout,
130
- const std::vector<sycl::event> &dependencies = {});
131
-
132
- template<typename descriptor_type, typename input_type, typename output_type>
133
- sycl::event compute_backward(
134
- descriptor_type &desc,
135
- input_type *in,
136
- output_type *out,
137
- const std::vector<sycl::event> &dependencies = {});
138
-
139
- template <precision prec, domain dom>
140
- class descriptor {
141
- using real_scalar_t = std::conditional_t<prec == precision::DOUBLE, double, float>;
142
- public:
143
- // initializes the FFT description for a multi-dimensional FFT
144
- descriptor(std::vector<std::int64_t> dimensions);
145
- // initializes the FFT description for a one-dimensional FFT
146
- descriptor(std::int64_t length);
147
- ~descriptor();
148
- descriptor(const descriptor&) = delete;
149
- descriptor& operator=(const descriptor&) = delete;
150
-
151
- void commit(sycl::queue &in);
152
-
153
- // in place forward computation; buffer API
154
- template <typename descriptor_type, typename data_type>
155
- friend void compute_forward(
156
- descriptor_type &desc,
157
- sycl::buffer<data_type, 1> &inout);
158
- // out of place forward computation; buffer API
159
- template<typename descriptor_type, typename input_type, typename output_type>
160
- friend void compute_forward(
161
- descriptor_type &desc,
162
- sycl::buffer<input_type, 1> &in,
163
- sycl::buffer<output_type, 1> &out);
164
- // in place backward computation; buffer API
165
- template <typename descriptor_type, typename data_type>
166
- friend void compute_backward(
167
- descriptor_type &desc,
168
- sycl::buffer<data_type, 1> &inout);
169
- // out of place backward computation; buffer API
170
- template<typename descriptor_type, typename input_type, typename output_type>
171
- friend void compute_backward(
172
- descriptor_type &desc,
173
- sycl::buffer<input_type, 1> &in,
174
- sycl::buffer<output_type, 1> &out);
175
- // in place forward computation; USM API
176
- template <typename descriptor_type, typename data_type>
177
- friend sycl::event compute_forward(
178
- descriptor_type &desc,
179
- data_type *inout,
180
- const std::vector<sycl::event> &dependencies);
181
- // out of place forward computation; USM API
182
- template<typename descriptor_type, typename input_type, typename output_type>
183
- friend sycl::event compute_forward(
184
- descriptor_type &desc,
185
- input_type *in,
186
- output_type *out,
187
- const std::vector<sycl::event> &dependencies);
188
- // in place backward computation; USM API
189
- template <typename descriptor_type, typename data_type>
190
- friend sycl::event compute_backward(
191
- descriptor_type &desc,
192
- data_type *inout,
193
- const std::vector<sycl::event> &dependencies);
194
- // out of place backward computation; USM API
195
- template<typename descriptor_type, typename input_type, typename output_type>
196
- friend sycl::event compute_backward(
197
- descriptor_type &desc,
198
- input_type *in,
199
- output_type *out,
200
- const std::vector<sycl::event> &dependencies);
201
-
202
- // configuration-setting member functions:
203
- [[deprecated("Use set_value(config_param, config_value) instead.")]]
204
- void set_value(config_param, DFTI_CONFIG_VALUE);
205
- void set_value(config_param, config_value);
206
- void set_value(config_param, std::int64_t);
207
- void set_value(config_param, real_scalar_t);
208
- [[deprecated("Use set_value(config_param, const std::vector<std::int64_t>&) instead.")]]
209
- void set_value(config_param, const std::int64_t*);
210
- void set_value(config_param, const std::vector<std::int64_t>&);
211
- template <typename T, std::enable_if_t<std::is_integral_v<T>, bool> = true>
212
- void set_value(config_param param, T value) {
213
- set_value(param, static_cast<std::int64_t>(value));
214
- }
215
- template <typename T, std::enable_if_t<std::is_floating_point_v<T>, bool> = true>
216
- void set_value(config_param param, T value) {
217
- set_value(param, static_cast<real_scalar_t>(value));
218
- }
219
- [[deprecated("This set_value member function is deprecated.")]]
220
- void set_value(config_param, ...);
221
- // configuration-querying member functions:
222
- [[deprecated("Use MKL_Get_Version_String(char*, int) instead.")]]
223
- void get_value(config_param, char*) const;
224
- [[deprecated("Use get_value(config_param, config_value*), "
225
- "get_value(config_param, domain*) or "
226
- "get_value(config_param, precision*) instead.")]]
227
- void get_value(config_param, DFTI_CONFIG_VALUE*) const;
228
- void get_value(config_param, config_value*) const;
229
- void get_value(config_param, domain*) const;
230
- void get_value(config_param, precision*) const;
231
- [[deprecated("Use get_value(config_param, std::int64_t*) instead.")]]
232
- void get_value(config_param, size_t*) const;
233
- void get_value(config_param, std::int64_t*) const;
234
- void get_value(config_param, real_scalar_t*) const;
235
- void get_value(config_param, std::vector<std::int64_t>*) const;
236
- [[deprecated("This get_value member function is deprecated.")]]
237
- void get_value(config_param, ...) const;
238
-
239
- template<typename data_type>
240
- void set_workspace(sycl::buffer<data_type, 1> &workspace);
241
- template<typename data_type>
242
- void set_workspace(data_type *workspace);
243
-
244
- private:
245
- DFTI_DESCRIPTOR_HANDLE handle;
246
- SYCL_DFTI_DESCRIPTOR_HANDLE device_handle;
247
- sycl::buffer<SYCL_DFTI_DESCRIPTOR_HANDLE, 1> handle_buffer;
248
- };
249
-
250
- } // namespace dft
251
- } // namespace mkl
252
- } // namespace oneapi
253
-
254
- #endif /* _DFT_HPP_ */
@@ -1,22 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2019 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef _DFTI_HPP_
16
- #define _DFTI_HPP_
17
-
18
- #warning "Header 'oneapi/mkl/dfti.hpp' is deprecated. Please use oneapi/mkl/dft.hpp instead"
19
-
20
- #include "oneapi/mkl/dft.hpp"
21
-
22
- #endif /* _DFTI_HPP_ */
@@ -1,110 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2020 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef _MKL_EXCEPTIONS_HPP__
16
- #define _MKL_EXCEPTIONS_HPP__
17
-
18
- #include <exception>
19
- #include <string>
20
- #include <sycl/sycl.hpp>
21
-
22
- #pragma clang diagnostic push
23
- #pragma clang diagnostic ignored "-Wweak-vtables"
24
-
25
- namespace oneapi {
26
- namespace mkl {
27
- class exception : public std::exception {
28
- std::string msg_;
29
- public:
30
- exception(const std::string &domain = "", const std::string &function = "", const std::string &info = "") : std::exception() {
31
- msg_ = "oneapi::mkl";
32
-
33
- if (0 != domain.length() && 0 != function.length()) {
34
- msg_ += "::" + domain + "::" + function;
35
- } else if (0 != domain.length() && 0 == function.length()) {
36
- msg_ += "::" + domain;
37
- } else if (0 == domain.length() && 0 != function.length()) {
38
- msg_ += "::" + function;
39
- }
40
- if (0 != info.length()) { msg_ += ": " + info; }
41
- }
42
-
43
- const char* what() const noexcept override {
44
- return msg_.c_str();
45
- }
46
- };
47
-
48
- class unsupported_device : public oneapi::mkl::exception {
49
- public:
50
- unsupported_device(const std::string &domain, const std::string &function, const sycl::device &device)
51
- : oneapi::mkl::exception(domain, function, "unsupported device: "+device.get_info<sycl::info::device::name>()) {
52
- }
53
- };
54
-
55
- class host_bad_alloc : public oneapi::mkl::exception {
56
- public:
57
- host_bad_alloc(const std::string &domain, const std::string &function)
58
- : oneapi::mkl::exception(domain, function, "cannot allocate memory on host") {
59
- }
60
- };
61
-
62
- class device_bad_alloc : public oneapi::mkl::exception {
63
- public:
64
- device_bad_alloc(const std::string &domain, const std::string &function, const sycl::device &device)
65
- : oneapi::mkl::exception(domain, function, "cannot allocate memory on "+device.get_info<sycl::info::device::name>()) {
66
- }
67
- };
68
-
69
- class unimplemented : public oneapi::mkl::exception {
70
- public:
71
- unimplemented(const std::string &domain, const std::string &function, const std::string &info = "")
72
- : oneapi::mkl::exception(domain, function, "unimplemented functionality"+((info.length() !=0) ? (": "+info) : "")) {
73
- }
74
- };
75
-
76
- class invalid_argument : public oneapi::mkl::exception {
77
- public:
78
- invalid_argument(const std::string &domain, const std::string &function, const std::string &info = "")
79
- : oneapi::mkl::exception(domain, function, "invalid argument"+((info.length() !=0) ? (": "+info) : "")) {
80
- }
81
- };
82
-
83
- class uninitialized : public oneapi::mkl::exception {
84
- public:
85
- uninitialized(const std::string &domain, const std::string &function, const std::string &info = "")
86
- : oneapi::mkl::exception(domain, function, "uninitialized object"+((info.length() !=0) ? (": "+info) : "")) {
87
- }
88
- };
89
-
90
- class computation_error : public oneapi::mkl::exception {
91
- public:
92
- computation_error(const std::string &domain, const std::string &function, const std::string &info = "")
93
- : oneapi::mkl::exception(domain, function, "computation error"+((info.length() != 0) ? (": "+info) : "")) {
94
- }
95
- };
96
-
97
- class batch_error : public oneapi::mkl::exception {
98
- public:
99
- batch_error(const std::string &domain, const std::string &function, const std::string &info = "")
100
- : oneapi::mkl::exception(domain, function, "batch error"+((info.length() != 0) ? (": "+info) : "")) {
101
- }
102
- };
103
-
104
- } // namespace mkl
105
- } // namespace oneapi
106
-
107
- #pragma clang diagnostic pop
108
-
109
- #endif // _MKL_EXCEPTIONS_HPP__
110
-
@@ -1,67 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2022 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef __DATA_FITTING_INTERPOLATE_HPP__
16
- #define __DATA_FITTING_INTERPOLATE_HPP__
17
-
18
- #include <cstdint>
19
- #include <vector>
20
- #include <bitset>
21
-
22
- #include <sycl/sycl.hpp>
23
-
24
- #include "oneapi/mkl/exceptions.hpp"
25
- #include "oneapi/mkl/experimental/data_fitting/spline_and_data_params.hpp"
26
-
27
- namespace oneapi::mkl::experimental::data_fitting {
28
-
29
- // Each bit in der_indicator indicates if we need to compute corresponding derivative or not.
30
- // E.g., der_indicator=0x1 - means that we need only function values,
31
- // der_indicator=0x2 - only 1-st derivative, der_indicator=5 - function value and 2nd derivative.
32
-
33
- // Interpolant is taken by non-const reference because non-const Interpolant's function members are called
34
- template <typename Interpolant>
35
- sycl::event interpolate(Interpolant& interpolant, typename Interpolant::fp_type* sites,
36
- std::int64_t n_sites, typename Interpolant::fp_type* results,
37
- std::bitset<32> der_indicator, const std::vector<sycl::event>& dependencies = {},
38
- interpolate_hint result_hint = interpolate_hint::funcs_sites_ders,
39
- site_hint SiteHint = site_hint::non_uniform);
40
-
41
- // Interpolant is taken by non-const reference because non-const Interpolant's function members are called
42
- template <typename Interpolant>
43
- sycl::event interpolate(Interpolant& interpolant, typename Interpolant::fp_type* sites,
44
- std::int64_t n_sites, typename Interpolant::fp_type* results,
45
- const std::vector<sycl::event>& dependencies = {},
46
- interpolate_hint result_hint = interpolate_hint::funcs_sites_ders,
47
- site_hint SiteHint = site_hint::non_uniform);
48
-
49
- template <typename Interpolant>
50
- sycl::event interpolate(sycl::queue& q, const Interpolant& interpolant,
51
- typename Interpolant::fp_type* sites, std::int64_t n_sites,
52
- typename Interpolant::fp_type* results,
53
- std::bitset<32> der_indicator, const std::vector<sycl::event>& dependencies = {},
54
- interpolate_hint result_hint = interpolate_hint::funcs_sites_ders,
55
- site_hint SiteHint = site_hint::non_uniform);
56
-
57
- template <typename Interpolant>
58
- sycl::event interpolate(sycl::queue& q, const Interpolant& interpolant,
59
- typename Interpolant::fp_type* sites, std::int64_t n_sites,
60
- typename Interpolant::fp_type* results,
61
- const std::vector<sycl::event>& dependencies = {},
62
- interpolate_hint result_hint = interpolate_hint::funcs_sites_ders,
63
- site_hint SiteHint = site_hint::non_uniform);
64
-
65
- } // namespace oneapi::mkl::experimental::data_fitting
66
-
67
- #endif // __DATA_FITTING_INTERPOLATE_HPP__
@@ -1,68 +0,0 @@
1
- /*******************************************************************************
2
- * Copyright (C) 2022 Intel Corporation
3
- *
4
- * This software and the related documents are Intel copyrighted materials, and
5
- * your use of them is governed by the express license under which they were
6
- * provided to you (License). Unless the License provides otherwise, you may not
7
- * use, modify, copy, publish, distribute, disclose or transmit this software or
8
- * the related documents without Intel's prior written permission.
9
- *
10
- * This software and the related documents are provided as is, with no express
11
- * or implied warranties, other than those that are expressly stated in the
12
- * License.
13
- *******************************************************************************/
14
-
15
- #ifndef __SPLINE_AND_DATA_PARAMS__
16
- #define __SPLINE_AND_DATA_PARAMS__
17
-
18
- #include <cstdint>
19
-
20
- namespace oneapi::mkl::experimental::data_fitting {
21
-
22
- enum class partition_hint : std::int64_t { non_uniform = 0x1, quasi_uniform = 0x2, uniform = 0x4 };
23
-
24
- enum class function_hint : std::int64_t {
25
- row_major = INT64_C(0x10),
26
- col_major = INT64_C(0x20)
27
- };
28
-
29
- enum class coefficient_hint : std::int64_t {
30
- row_major = INT64_C(0x10),
31
- col_major = INT64_C(0x20)
32
- };
33
-
34
- enum class interpolate_hint : std::int64_t {
35
- funcs_sites_ders = INT64_C(0x10),
36
- funcs_ders_sites = INT64_C(0x20),
37
- sites_funcs_ders = INT64_C(0x100),
38
- sites_ders_funcs = INT64_C(0x200)
39
- };
40
-
41
- enum class bc_type : std::int64_t {
42
- free_end = INT64_C(0x2),
43
- first_left_der = INT64_C(0x4),
44
- first_right_der = INT64_C(0x8),
45
- second_left_der = INT64_C(0x10),
46
- second_right_der = INT64_C(0x20),
47
- periodic = INT64_C(0x40)
48
- };
49
-
50
- enum class site_hint : std::int64_t { non_uniform = INT64_C(0x1), uniform = INT64_C(0x4), sorted = INT64_C(0x40) };
51
-
52
- namespace linear_spline {
53
- struct default_type {};
54
- } // namespace linear_spline
55
-
56
- namespace cubic_spline {
57
- struct hermite {};
58
- } // namespace cubic_spline
59
-
60
- enum class derivatives : std::int32_t { zero = INT32_C(0x1), first = INT32_C(0x2), second = INT32_C(0x4), third = INT32_C(0x8) };
61
-
62
- inline std::int32_t operator|(derivatives lhs, derivatives rhs) {
63
- return (static_cast<std::int32_t>(lhs) | static_cast<std::int32_t>(rhs));
64
- }
65
-
66
- } // namespace oneapi::mkl::experimental::data_fitting
67
-
68
- #endif // __SPLINE_AND_DATA_PARAMS__