mkl-devel-dpcpp 2025.0.0__py2.py3-none-manylinux_2_28_x86_64.whl → 2025.1.0__py2.py3-none-manylinux_2_28_x86_64.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 (92) hide show
  1. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/bfloat16.hpp +1 -1
  2. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas/buffer.hpp +1 -1
  3. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas/buffer_decls.hpp +1 -1
  4. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/blas/spec.hpp +42 -0
  5. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas/types.hpp +1 -1
  6. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas/usm.hpp +1 -1
  7. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas/usm_decls.hpp +1 -1
  8. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/blas.hpp +2 -1
  9. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/dft/spec.hpp +42 -0
  10. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/dft.hpp +2 -1
  11. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/dfti.hpp +1 -1
  12. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/exceptions.hpp +1 -1
  13. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/experimental/data_fitting/interpolate.hpp +1 -1
  14. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/experimental/data_fitting/spline_and_data_params.hpp +1 -1
  15. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/experimental/data_fitting/splines.hpp +1 -1
  16. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/experimental/data_fitting.hpp +1 -1
  17. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/export.hpp +1 -1
  18. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/lapack/concepts.hpp +1 -1
  19. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/lapack/exceptions.hpp +1 -1
  20. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/lapack/lapack.hpp +2 -1
  21. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/lapack/scratchpad.hpp +2 -1
  22. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/lapack/spec.hpp +42 -0
  23. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/lapack.hpp +2 -1
  24. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/detail/engine_base.hpp +1 -1
  25. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/bernoulli_impl.hpp +1 -1
  26. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/beta_impl.hpp +3 -4
  27. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/bits_impl.hpp +1 -1
  28. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/distribution_base.hpp +5 -1
  29. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/engine_base.hpp +1 -1
  30. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/engine_helpers_base.hpp +1 -1
  31. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/exponential_impl.hpp +1 -1
  32. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/gamma_impl.hpp +1 -1
  33. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/gaussian_impl.hpp +1 -1
  34. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/rng/device/detail/geometric_impl.hpp +99 -0
  35. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/lognormal_impl.hpp +1 -1
  36. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mcg31m1_helpers_impl.hpp +1 -1
  37. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mcg31m1_impl.hpp +1 -1
  38. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mcg59_helpers_impl.hpp +1 -1
  39. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mcg59_impl.hpp +1 -1
  40. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mrg32k3a_helpers_impl.hpp +1 -1
  41. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mrg32k3a_impl.hpp +1 -1
  42. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/mrg32k3a_skip_ahead_matrix.hpp +1 -1
  43. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/philox4x32x10_helpers_impl.hpp +1 -1
  44. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/philox4x32x10_impl.hpp +1 -1
  45. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/poisson_impl.hpp +4 -31
  46. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/types.hpp +1 -1
  47. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/uniform_bits_impl.hpp +1 -1
  48. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/uniform_impl.hpp +1 -3
  49. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/detail/vm_wrappers.hpp +1 -1
  50. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/distributions.hpp +64 -1
  51. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/engine_helpers.hpp +1 -1
  52. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/engines.hpp +1 -1
  53. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/functions.hpp +1 -1
  54. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device/types.hpp +6 -1
  55. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/device.hpp +1 -1
  56. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/distributions.hpp +1 -1
  57. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/engines.hpp +1 -1
  58. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng/functions.hpp +1 -1
  59. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/rng/spec.hpp +42 -0
  60. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/rng.hpp +2 -1
  61. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/spblas/sparse_auxiliary.hpp +1 -1
  62. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/spblas/sparse_operations.hpp +1 -1
  63. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/spblas/sparse_structures.hpp +1 -1
  64. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/spblas/spec.hpp +42 -0
  65. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/spblas.hpp +2 -1
  66. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/spec.hpp +42 -0
  67. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/stats/spec.hpp +42 -0
  68. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/stats.hpp +2 -1
  69. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/types.hpp +1 -1
  70. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/buffer.hpp +1 -1
  71. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/decls.hpp +1 -1
  72. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/decls.hpp +1 -1
  73. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/dispatch.hpp +1 -1
  74. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/ep.hpp +1 -1
  75. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/ha.hpp +1 -1
  76. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/la.hpp +1 -1
  77. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/rts.hpp +1 -1
  78. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/detail/scalar.hpp +1 -1
  79. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/device/vm.hpp +1 -1
  80. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/span.hpp +1 -1
  81. mkl_devel_dpcpp-2025.1.0.data/data/include/oneapi/mkl/vm/spec.hpp +42 -0
  82. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm/usm.hpp +1 -1
  83. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl/vm.hpp +2 -1
  84. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/include/oneapi/mkl.hpp +2 -1
  85. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/lib/libmkl_sycl.a +0 -0
  86. {mkl_devel_dpcpp-2025.0.0.dist-info → mkl_devel_dpcpp-2025.1.0.dist-info}/METADATA +3 -3
  87. mkl_devel_dpcpp-2025.1.0.dist-info/RECORD +91 -0
  88. mkl_devel_dpcpp-2025.0.0.dist-info/RECORD +0 -82
  89. {mkl_devel_dpcpp-2025.0.0.data → mkl_devel_dpcpp-2025.1.0.data}/data/lib/libmkl_sycl.so +0 -0
  90. {mkl_devel_dpcpp-2025.0.0.dist-info → mkl_devel_dpcpp-2025.1.0.dist-info}/LICENSE.txt +0 -0
  91. {mkl_devel_dpcpp-2025.0.0.dist-info → mkl_devel_dpcpp-2025.1.0.dist-info}/WHEEL +0 -0
  92. {mkl_devel_dpcpp-2025.0.0.dist-info → mkl_devel_dpcpp-2025.1.0.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2023 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2022 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2022 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -0,0 +1,42 @@
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_BLAS_SPEC_HPP
21
+ #define ONEMATH_BLAS_SPEC_HPP
22
+
23
+ #include "oneapi/mkl/spec.hpp"
24
+
25
+ #if defined(ONEMATH_SPEC_VERSION_NON_COMPLIANT)
26
+ #define ONEMATH_BLAS_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 blas {
34
+
35
+ constexpr auto spec_version =
36
+ static_cast<SpecVersion>(ONEMATH_BLAS_SPEC_VERSION);
37
+
38
+ } // namespace blas
39
+ } // namespace mkl
40
+ } // namespace oneapi
41
+
42
+ #endif /* ONEMATH_BLAS_SPEC_HPP */
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2022 Intel Corporation.
2
+ * Copyright (C) 2022 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2022 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2023 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2018-2022 Intel Corporation.
2
+ * Copyright (C) 2018 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -29,5 +29,6 @@
29
29
  #include "oneapi/mkl/blas/types.hpp"
30
30
  #include "oneapi/mkl/blas/buffer.hpp"
31
31
  #include "oneapi/mkl/blas/usm.hpp"
32
+ #include "oneapi/mkl/blas/spec.hpp"
32
33
 
33
34
  #endif /* _BLAS_HPP__ */
@@ -0,0 +1,42 @@
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,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -18,6 +18,7 @@
18
18
  #include <cinttypes> // std::int64_t
19
19
  #include <vector> // std::vector
20
20
  #include <sycl/sycl.hpp> // sycl::
21
+ #include "oneapi/mkl/dft/spec.hpp"
21
22
  #include "mkl_dfti.h" // DFTI_DESCRIPTOR_HANDLE
22
23
 
23
24
  typedef struct SYCL_DFTI_DESCRIPTOR* SYCL_DFTI_DESCRIPTOR_HANDLE;
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2019-2022 Intel Corporation.
2
+ * Copyright (C) 2019 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020-2022 Intel Corporation.
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2022 Intel Corporation.
2
+ * Copyright (C) 2022 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2022 Intel Corporation.
2
+ * Copyright (C) 2022 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2022 Intel Corporation.
2
+ * Copyright (C) 2022 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2022 Intel Corporation.
2
+ * Copyright (C) 2022 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020-2022 Intel Corporation.
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -11,6 +11,7 @@
11
11
  * or implied warranties, other than those that are expressly stated in the
12
12
  * License.
13
13
  *******************************************************************************/
14
+
14
15
  #ifndef _ONEAPI_MKL_LAPACK_LAPACK_HPP__
15
16
  #define _ONEAPI_MKL_LAPACK_LAPACK_HPP__
16
17
 
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -11,6 +11,7 @@
11
11
  * or implied warranties, other than those that are expressly stated in the
12
12
  * License.
13
13
  *******************************************************************************/
14
+
14
15
  #ifndef _ONEAPI_MKL_LAPACK_SCRATCHPAD_HPP__
15
16
  #define _ONEAPI_MKL_LAPACK_SCRATCHPAD_HPP__
16
17
 
@@ -0,0 +1,42 @@
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_LAPACK_SPEC_HPP
21
+ #define ONEMATH_LAPACK_SPEC_HPP
22
+
23
+ #include "oneapi/mkl/spec.hpp"
24
+
25
+ #if defined(ONEMATH_SPEC_VERSION_NON_COMPLIANT)
26
+ #define ONEMATH_LAPACK_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 lapack {
34
+
35
+ constexpr auto spec_version =
36
+ static_cast<SpecVersion>(ONEMATH_LAPACK_SPEC_VERSION);
37
+
38
+ } // namespace lapack
39
+ } // namespace mkl
40
+ } // namespace oneapi
41
+
42
+ #endif /* ONEMATH_LAPACK_SPEC_HPP */
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation.
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -19,5 +19,6 @@
19
19
  #include "oneapi/mkl/lapack/exceptions.hpp"
20
20
  #include "oneapi/mkl/lapack/lapack.hpp"
21
21
  #include "oneapi/mkl/lapack/scratchpad.hpp"
22
+ #include "oneapi/mkl/lapack/spec.hpp"
22
23
 
23
24
  #endif // _ONEAPI_MKL_LAPACK_HPP__
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2019-2022 Intel Corporation.
2
+ * Copyright (C) 2019 Intel Corporation
3
3
  *
4
4
  * This software and the related documents are Intel copyrighted materials, and
5
5
  * your use of them is governed by the express license under which they were
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2021 Intel Corporation
2
+ * Copyright (C) 2021 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -364,9 +364,8 @@ protected:
364
364
  flInv = RealType(1.0) / (q_ + flW);
365
365
  flTmp[0] = flKoef1 * flInv;
366
366
  flTmp[1] = flU1 * flU1 * flU2;
367
- for (int i = 0; i < 2; i++) {
368
- flTmp[i] = ln_wrapper(flTmp[i]);
369
- }
367
+ flTmp[0] = ln_wrapper(flTmp[0]);
368
+ flTmp[1] = ln_wrapper(flTmp[1]);
370
369
 
371
370
  if (flKoef1 * flTmp[0] + flKoef3 * flV - log4<RealType>() >= flTmp[1]) {
372
371
  z[i] = flW * flInv;
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -65,6 +65,9 @@ class poisson;
65
65
  template <typename IntType = std::uint32_t, typename Method = bernoulli_method::by_default>
66
66
  class bernoulli;
67
67
 
68
+ template <typename IntType = std::uint32_t, typename Method = geometric_method::by_default>
69
+ class geometric;
70
+
68
71
  } // namespace oneapi::mkl::rng::device
69
72
 
70
73
  #include "oneapi/mkl/rng/device/detail/uniform_impl.hpp"
@@ -75,6 +78,7 @@ class bernoulli;
75
78
  #include "oneapi/mkl/rng/device/detail/exponential_impl.hpp"
76
79
  #include "oneapi/mkl/rng/device/detail/poisson_impl.hpp"
77
80
  #include "oneapi/mkl/rng/device/detail/bernoulli_impl.hpp"
81
+ #include "oneapi/mkl/rng/device/detail/geometric_impl.hpp"
78
82
  #include "oneapi/mkl/rng/device/detail/beta_impl.hpp"
79
83
  #include "oneapi/mkl/rng/device/detail/gamma_impl.hpp"
80
84
 
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2023 Intel Corporation
2
+ * Copyright (C) 2023 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2021 Intel Corporation
2
+ * Copyright (C) 2021 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2024 Intel Corporation
2
+ * Copyright (C) 2024 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -0,0 +1,99 @@
1
+ /*******************************************************************************
2
+ * Copyright (C) 2024 Intel Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions
14
+ * and limitations under the License.
15
+ *
16
+ *
17
+ * SPDX-License-Identifier: Apache-2.0
18
+ *******************************************************************************/
19
+
20
+ #ifndef _MKL_RNG_DEVICE_GEOMETRIC_IMPL_HPP_
21
+ #define _MKL_RNG_DEVICE_GEOMETRIC_IMPL_HPP_
22
+
23
+ namespace oneapi::mkl::rng::device::detail {
24
+
25
+ template <typename IntType, typename Method>
26
+ class distribution_base<oneapi::mkl::rng::device::geometric<IntType, Method>> {
27
+ public:
28
+ struct param_type {
29
+ param_type(float p) : p_(p) {}
30
+ float p_;
31
+ };
32
+
33
+ distribution_base(float p) : p_(p) {
34
+ #ifndef __SYCL_DEVICE_ONLY__
35
+ if ((p > 1.0f) || (p < 0.0f)) {
36
+ throw oneapi::mkl::invalid_argument("rng", "geometric", "p < 0 || p > 1");
37
+ }
38
+ #endif
39
+ }
40
+
41
+ float p() const {
42
+ return p_;
43
+ }
44
+
45
+ param_type param() const {
46
+ return param_type(p_);
47
+ }
48
+
49
+ void param(const param_type& pt) {
50
+ #ifndef __SYCL_DEVICE_ONLY__
51
+ if ((pt.p_ > 1.0f) || (pt.p_ < 0.0f)) {
52
+ throw oneapi::mkl::invalid_argument("rng", "geometric", "p < 0 || p > 1");
53
+ }
54
+ #endif
55
+ p_ = pt.p_;
56
+ }
57
+
58
+ protected:
59
+ template <typename EngineType>
60
+ auto generate(EngineType& engine) ->
61
+ typename std::conditional<EngineType::vec_size == 1, IntType,
62
+ sycl::vec<IntType, EngineType::vec_size>>::type {
63
+ using FpType = typename std::conditional<std::is_same_v<IntType, std::uint64_t> ||
64
+ std::is_same_v<IntType, std::int64_t>,
65
+ double, float>::type;
66
+
67
+ auto uni_res = engine.generate(FpType(0.0), FpType(1.0));
68
+ FpType inv_ln = ln_wrapper(FpType(1.0) - p_);
69
+ inv_ln = FpType(1.0) / inv_ln;
70
+ if constexpr (EngineType::vec_size == 1) {
71
+ return static_cast<IntType>(sycl::floor(ln_wrapper(uni_res) * inv_ln));
72
+ }
73
+ else {
74
+ sycl::vec<IntType, EngineType::vec_size> vec_out;
75
+ for (int i = 0; i < EngineType::vec_size; i++) {
76
+ vec_out[i] = static_cast<IntType>(sycl::floor(ln_wrapper(uni_res[i]) * inv_ln));
77
+ }
78
+ return vec_out;
79
+ }
80
+ }
81
+
82
+ template <typename EngineType>
83
+ IntType generate_single(EngineType& engine) {
84
+ using FpType = typename std::conditional<std::is_same_v<IntType, std::uint64_t> ||
85
+ std::is_same_v<IntType, std::int64_t>,
86
+ double, float>::type;
87
+
88
+ FpType uni_res = engine.generate_single(FpType(0.0), FpType(1.0));
89
+ FpType inv_ln = ln_wrapper(FpType(1.0) - p_);
90
+ inv_ln = FpType(1.0) / inv_ln;
91
+ return static_cast<IntType>(sycl::floor(ln_wrapper(uni_res) * inv_ln));
92
+ }
93
+
94
+ float p_;
95
+ };
96
+
97
+ } // namespace oneapi::mkl::rng::device::detail
98
+
99
+ #endif // _MKL_RNG_DEVICE_GEOMETRIC_IMPL_HPP_
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2023 Intel Corporation
2
+ * Copyright (C) 2023 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2021 Intel Corporation
2
+ * Copyright (C) 2021 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2023 Intel Corporation
2
+ * Copyright (C) 2023 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2021 Intel Corporation
2
+ * Copyright (C) 2021 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2023 Intel Corporation
2
+ * Copyright (C) 2023 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2023 Intel Corporation
2
+ * Copyright (C) 2023 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*******************************************************************************
2
- * Copyright 2020 Intel Corporation
2
+ * Copyright (C) 2020 Intel Corporation
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.