mkl-devel-dpcpp 2025.0.1__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.
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_blas_dll.lib +0 -0
- mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_dft_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_dll.lib +0 -0
- mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_lapack_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_rng_dll.lib +0 -0
- mkl_devel_dpcpp-2025.2.0.data/data/Library/lib/mkl_sycl_sparse_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/METADATA +4 -3
- mkl_devel_dpcpp-2025.2.0.dist-info/RECORD +15 -0
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/bfloat16.hpp +0 -26
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas/buffer.hpp +0 -42
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas/buffer_decls.hpp +0 -880
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas/types.hpp +0 -60
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas/usm.hpp +0 -42
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas/usm_decls.hpp +0 -1240
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/blas.hpp +0 -33
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/dft.hpp +0 -253
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/dfti.hpp +0 -22
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/exceptions.hpp +0 -110
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/experimental/data_fitting/interpolate.hpp +0 -67
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/experimental/data_fitting/spline_and_data_params.hpp +0 -68
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/experimental/data_fitting/splines.hpp +0 -177
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/experimental/data_fitting.hpp +0 -22
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/export.hpp +0 -25
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/lapack/concepts.hpp +0 -55
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/lapack/exceptions.hpp +0 -75
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/lapack/lapack.hpp +0 -1095
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/lapack/scratchpad.hpp +0 -106
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/lapack.hpp +0 -23
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/detail/engine_base.hpp +0 -48
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/bernoulli_impl.hpp +0 -89
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/beta_impl.hpp +0 -464
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/bits_impl.hpp +0 -71
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/distribution_base.hpp +0 -81
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/engine_base.hpp +0 -43
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/engine_helpers_base.hpp +0 -54
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/exponential_impl.hpp +0 -116
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/gamma_impl.hpp +0 -285
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/gaussian_impl.hpp +0 -270
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/lognormal_impl.hpp +0 -105
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg31m1_helpers_impl.hpp +0 -117
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg31m1_impl.hpp +0 -223
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg59_helpers_impl.hpp +0 -118
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mcg59_impl.hpp +0 -266
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_helpers_impl.hpp +0 -125
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_impl.hpp +0 -385
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/mrg32k3a_skip_ahead_matrix.hpp +0 -3668
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/philox4x32x10_helpers_impl.hpp +0 -141
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/philox4x32x10_impl.hpp +0 -552
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/poisson_impl.hpp +0 -355
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/types.hpp +0 -58
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/uniform_bits_impl.hpp +0 -51
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/uniform_impl.hpp +0 -289
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/vm_wrappers.hpp +0 -183
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/distributions.hpp +0 -637
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/engine_helpers.hpp +0 -116
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/engines.hpp +0 -187
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/functions.hpp +0 -59
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/types.hpp +0 -74
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device.hpp +0 -29
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/distributions.hpp +0 -1913
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/engines.hpp +0 -788
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/functions.hpp +0 -163
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng.hpp +0 -22
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/spblas/sparse_auxiliary.hpp +0 -111
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/spblas/sparse_operations.hpp +0 -446
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/spblas/sparse_structures.hpp +0 -193
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/spblas.hpp +0 -32
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/stats.hpp +0 -356
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/types.hpp +0 -321
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/buffer.hpp +0 -3529
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/decls.hpp +0 -280
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/decls.hpp +0 -81
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/dispatch.hpp +0 -1059
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/ep.hpp +0 -861
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/ha.hpp +0 -860
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/la.hpp +0 -860
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/rts.hpp +0 -4608
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/detail/scalar.hpp +0 -8963
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/device/vm.hpp +0 -460
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/span.hpp +0 -3813
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm/usm.hpp +0 -3581
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/vm.hpp +0 -30
- mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl.hpp +0 -34
- mkl_devel_dpcpp-2025.0.1.data/data/Library/lib/mkl_sycl_dft_dll.lib +0 -0
- mkl_devel_dpcpp-2025.0.1.data/data/Library/lib/mkl_sycl_lapack_dll.lib +0 -0
- mkl_devel_dpcpp-2025.0.1.data/data/Library/lib/mkl_sycl_sparse_dll.lib +0 -0
- mkl_devel_dpcpp-2025.0.1.dist-info/RECORD +0 -90
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_data_fitting_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_stats_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.data → mkl_devel_dpcpp-2025.2.0.data}/data/Library/lib/mkl_sycl_vm_dll.lib +0 -0
- {mkl_devel_dpcpp-2025.0.1.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/LICENSE.txt +0 -0
- {mkl_devel_dpcpp-2025.0.1.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/WHEEL +0 -0
- {mkl_devel_dpcpp-2025.0.1.dist-info → mkl_devel_dpcpp-2025.2.0.dist-info}/top_level.txt +0 -0
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*******************************************************************************
|
|
2
|
-
* Copyright 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
|
-
#ifndef _ONEAPI_MKL_LAPACK_SCRATCHPAD_HPP__
|
|
15
|
-
#define _ONEAPI_MKL_LAPACK_SCRATCHPAD_HPP__
|
|
16
|
-
|
|
17
|
-
#include <complex>
|
|
18
|
-
#include <cstdint>
|
|
19
|
-
#include <sycl/sycl.hpp>
|
|
20
|
-
|
|
21
|
-
#include "oneapi/mkl/types.hpp"
|
|
22
|
-
#include "oneapi/mkl/lapack/concepts.hpp"
|
|
23
|
-
|
|
24
|
-
namespace oneapi {
|
|
25
|
-
namespace mkl {
|
|
26
|
-
namespace lapack {
|
|
27
|
-
|
|
28
|
-
// nonbatch queries
|
|
29
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gebrd_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda);
|
|
30
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gels_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t nrhs, int64_t lda, int64_t ldb);
|
|
31
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t geqrf_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda);
|
|
32
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gerqf_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda);
|
|
33
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gesv_scratchpad_size(sycl::queue& queue, int64_t n, int64_t nrhs, int64_t lda, int64_t ldb);
|
|
34
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t gesvd_scratchpad_size(sycl::queue& queue, oneapi::mkl::jobsvd jobu, oneapi::mkl::jobsvd jobvt, int64_t m, int64_t n, int64_t lda, int64_t ldu, int64_t ldvt);
|
|
35
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t gesvd_scratchpad_size(sycl::queue& queue, oneapi::mkl::jobsvd jobu, oneapi::mkl::jobsvd jobvt, int64_t m, int64_t n, int64_t lda, int64_t ldu, int64_t ldvt);
|
|
36
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrf_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda);
|
|
37
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrfnp_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda);
|
|
38
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getri_scratchpad_size(sycl::queue& queue, int64_t n, int64_t lda);
|
|
39
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrs_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose trans, int64_t n, int64_t nrhs, int64_t lda, int64_t ldb);
|
|
40
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t heev_scratchpad_size(sycl::queue& queue, oneapi::mkl::compz jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
41
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t heevd_scratchpad_size(sycl::queue& queue, oneapi::mkl::job jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
42
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t heevx_scratchpad_size(sycl::queue& queue, oneapi::mkl::compz jobz, oneapi::mkl::rangev range, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, typename fp::value_type vl, typename fp::value_type vu, int64_t il, int64_t iu, typename fp::value_type abstol, int64_t ldz);
|
|
43
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t hegvd_scratchpad_size(sycl::queue& queue, int64_t itype, oneapi::mkl::job jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, int64_t ldb);
|
|
44
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t hegvx_scratchpad_size(sycl::queue& queue, int64_t itype, oneapi::mkl::compz jobz, oneapi::mkl::rangev range, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, int64_t ldb, typename fp::value_type vl, typename fp::value_type vu, int64_t il, int64_t iu, typename fp::value_type abstol, int64_t ldz);
|
|
45
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t hetrd_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
46
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t hetrf_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
47
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t orgbr_scratchpad_size(sycl::queue& queue, oneapi::mkl::generate vect, int64_t m, int64_t n, int64_t k, int64_t lda);
|
|
48
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t orgqr_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t k, int64_t lda);
|
|
49
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t orgtr_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
50
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t ormqr_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t ldc);
|
|
51
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t ormrq_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t ldc);
|
|
52
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t ormtr_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::uplo uplo, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t lda, int64_t ldc);
|
|
53
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrf_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
54
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potri_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
55
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrs_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t nrhs, int64_t lda, int64_t ldb);
|
|
56
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t steqr_scratchpad_size(sycl::queue& queue, oneapi::mkl::compz compz, int64_t n, int64_t ldz);
|
|
57
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t syev_scratchpad_size(sycl::queue& queue, oneapi::mkl::compz jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
58
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t syevd_scratchpad_size(sycl::queue& queue, oneapi::mkl::job jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
59
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t syevx_scratchpad_size(sycl::queue& queue, oneapi::mkl::compz jobz, oneapi::mkl::rangev range, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, fp vl, fp vu, int64_t il, int64_t iu, fp abstol, int64_t ldz);
|
|
60
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t sygvd_scratchpad_size(sycl::queue& queue, int64_t itype, oneapi::mkl::job jobz, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, int64_t ldb);
|
|
61
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t sygvx_scratchpad_size(sycl::queue& queue, int64_t itype, oneapi::mkl::compz jobz, oneapi::mkl::rangev range, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, int64_t ldb, fp vl, fp vu, int64_t il, int64_t iu, fp abstol, int64_t ldz);
|
|
62
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t sytrd_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
63
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t sytrf_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
64
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t trtri_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, oneapi::mkl::diag diag, int64_t n, int64_t lda);
|
|
65
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t trtrs_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, oneapi::mkl::transpose trans, oneapi::mkl::diag diag, int64_t n, int64_t nrhs, int64_t lda, int64_t ldb);
|
|
66
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t ungbr_scratchpad_size(sycl::queue& queue, oneapi::mkl::generate vect, int64_t m, int64_t n, int64_t k, int64_t lda);
|
|
67
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t ungqr_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t k, int64_t lda);
|
|
68
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t ungtr_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda);
|
|
69
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t unmqr_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t ldc);
|
|
70
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t unmrq_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t ldc);
|
|
71
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t unmtr_scratchpad_size(sycl::queue& queue, oneapi::mkl::side side, oneapi::mkl::uplo uplo, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t lda, int64_t ldc);
|
|
72
|
-
|
|
73
|
-
// batch queries
|
|
74
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t geinv_batch_scratchpad_size(sycl::queue& queue, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
75
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gels_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose* trans, int64_t* m, int64_t* n, int64_t* nrhs, int64_t* lda, int64_t* ldb, int64_t group_count, int64_t* group_sizes);
|
|
76
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gels_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose trans, int64_t m, int64_t n, int64_t nrhs, int64_t lda, int64_t stride_a, int64_t ldb, int64_t stride_b, int64_t batch_size);
|
|
77
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t geqrf_batch_scratchpad_size(sycl::queue& queue, int64_t* m, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
78
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t geqrf_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda, int64_t stride_a, int64_t stride_tau, int64_t batch_size);
|
|
79
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t gesvda_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda, int64_t stride_a, int64_t stride_s, int64_t ldu, int64_t stride_u, int64_t ldvt, int64_t stride_vt, int64_t batch_size);
|
|
80
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrf_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda, int64_t stride_a, int64_t stride_ipiv, int64_t batch_size);
|
|
81
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrf_batch_scratchpad_size(sycl::queue& queue, int64_t* m, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
82
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrfnp_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t lda, int64_t stride_a, int64_t batch_size);
|
|
83
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrfnp_batch_scratchpad_size(sycl::queue& queue, int64_t* m, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
84
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getri_batch_scratchpad_size(sycl::queue& queue, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
85
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getri_batch_scratchpad_size(sycl::queue& queue, int64_t n, int64_t lda, int64_t stride_a, int64_t stride_ipiv, int64_t batch_size);
|
|
86
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getri_batch_scratchpad_size(sycl::queue& queue, int64_t n, int64_t lda, int64_t stride_a, int64_t stride_ipiv, int64_t ldainv, int64_t stride_ainv, int64_t batch_size);
|
|
87
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrs_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose* trans, int64_t* n, int64_t* nrhs, int64_t* lda, int64_t* ldb, int64_t group_count, int64_t* group_sizes);
|
|
88
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrs_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose trans, int64_t n, int64_t nrhs, int64_t lda, int64_t stride_a, int64_t stride_ipiv, int64_t ldb, int64_t stride_b, int64_t batch_size);
|
|
89
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t getrsnp_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::transpose trans, int64_t n, int64_t nrhs, int64_t lda, int64_t stride_a, int64_t ldb, int64_t stride_b, int64_t batch_size);
|
|
90
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t orgqr_batch_scratchpad_size(sycl::queue& queue, int64_t* m, int64_t* n, int64_t* k, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
91
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t orgqr_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t stride_a, int64_t stride_tau, int64_t batch_size);
|
|
92
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_real_floating_point<fp> = nullptr> int64_t ormqr_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::side* side, oneapi::mkl::transpose* trans, int64_t* m, int64_t* n, int64_t* k, int64_t* lda, int64_t* ldc, int64_t group_count, int64_t* group_sizes);
|
|
93
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrf_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo* uplo, int64_t* n, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
94
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrf_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t lda, int64_t stride_a, int64_t batch_size);
|
|
95
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrs_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo* uplo, int64_t* n, int64_t* nrhs, int64_t* lda, int64_t* ldb, int64_t group_count, int64_t* group_sizes);
|
|
96
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t potrs_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo uplo, int64_t n, int64_t nrhs, int64_t lda, int64_t stride_a, int64_t ldb, int64_t stride_b, int64_t batch_size);
|
|
97
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_floating_point<fp> = nullptr> int64_t trtrs_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::uplo* uplo, oneapi::mkl::transpose* trans, oneapi::mkl::diag* diag, int64_t* n, int64_t* nrhs, int64_t* lda, int64_t* ldb, int64_t group_count, int64_t* group_sizes);
|
|
98
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t ungqr_batch_scratchpad_size(sycl::queue& queue, int64_t* m, int64_t* n, int64_t* k, int64_t* lda, int64_t group_count, int64_t* group_sizes);
|
|
99
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t ungqr_batch_scratchpad_size(sycl::queue& queue, int64_t m, int64_t n, int64_t k, int64_t lda, int64_t stride_a, int64_t stride_tau, int64_t batch_size);
|
|
100
|
-
template <typename fp, oneapi::mkl::lapack::internal::is_complex_floating_point<fp> = nullptr> int64_t unmqr_batch_scratchpad_size(sycl::queue& queue, oneapi::mkl::side* side, oneapi::mkl::transpose* trans, int64_t* m, int64_t* n, int64_t* k, int64_t* lda, int64_t* ldc, int64_t group_count, int64_t* group_sizes);
|
|
101
|
-
|
|
102
|
-
} // namespace lapack
|
|
103
|
-
} // namespace mkl
|
|
104
|
-
} // namespace oneapi
|
|
105
|
-
|
|
106
|
-
#endif // _ONEAPI_MKL_LAPACK_SCRATCHPAD_HPP__
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*******************************************************************************
|
|
2
|
-
* Copyright 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 _ONEAPI_MKL_LAPACK_HPP__
|
|
16
|
-
#define _ONEAPI_MKL_LAPACK_HPP__
|
|
17
|
-
|
|
18
|
-
#include "oneapi/mkl/lapack/concepts.hpp"
|
|
19
|
-
#include "oneapi/mkl/lapack/exceptions.hpp"
|
|
20
|
-
#include "oneapi/mkl/lapack/lapack.hpp"
|
|
21
|
-
#include "oneapi/mkl/lapack/scratchpad.hpp"
|
|
22
|
-
|
|
23
|
-
#endif // _ONEAPI_MKL_LAPACK_HPP__
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*******************************************************************************
|
|
2
|
-
* Copyright 2019-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 __MKL_RNG_ENGINE_BASE_HPP_
|
|
16
|
-
#define __MKL_RNG_ENGINE_BASE_HPP_
|
|
17
|
-
|
|
18
|
-
#include <memory>
|
|
19
|
-
|
|
20
|
-
#include "sycl/sycl.hpp"
|
|
21
|
-
|
|
22
|
-
namespace oneapi {
|
|
23
|
-
namespace mkl {
|
|
24
|
-
namespace rng {
|
|
25
|
-
namespace detail {
|
|
26
|
-
|
|
27
|
-
template <typename Engine>
|
|
28
|
-
class engine_base_impl;
|
|
29
|
-
|
|
30
|
-
template <typename Engine>
|
|
31
|
-
class engine_base {
|
|
32
|
-
public:
|
|
33
|
-
engine_base(sycl::queue queue) : queue_(queue) {}
|
|
34
|
-
sycl::queue& get_queue() {
|
|
35
|
-
return queue_;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
protected:
|
|
39
|
-
sycl::queue queue_;
|
|
40
|
-
std::unique_ptr<engine_base_impl<Engine>> impl_;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
} // namespace detail
|
|
44
|
-
} // namespace rng
|
|
45
|
-
} // namespace mkl
|
|
46
|
-
} // namespace oneapi
|
|
47
|
-
|
|
48
|
-
#endif // __MKL_RNG_ENGINE_BASE_HPP_
|
mkl_devel_dpcpp-2025.0.1.data/data/Library/include/oneapi/mkl/rng/device/detail/bernoulli_impl.hpp
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/*******************************************************************************
|
|
2
|
-
* Copyright 2021 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_BERNOULLI_IMPL_HPP_
|
|
21
|
-
#define _MKL_RNG_DEVICE_BERNOULLI_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::bernoulli<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", "bernoulli", "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", "bernoulli", "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
|
-
auto uni_res = engine.generate(0.0f, 1.0f);
|
|
64
|
-
if constexpr (EngineType::vec_size == 1) {
|
|
65
|
-
return IntType{ uni_res < p_ };
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
sycl::vec<IntType, EngineType::vec_size> vec_out(IntType{ 0 });
|
|
69
|
-
for (int i = 0; i < EngineType::vec_size; ++i) {
|
|
70
|
-
if (uni_res[i] < p_) {
|
|
71
|
-
vec_out[i] = IntType{ 1 };
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return vec_out;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
template <typename EngineType>
|
|
79
|
-
IntType generate_single(EngineType& engine) {
|
|
80
|
-
auto uni_res = engine.generate_single(0.0f, 1.0f);
|
|
81
|
-
return IntType{ uni_res < p_ };
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
float p_;
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
} // namespace oneapi::mkl::rng::device::detail
|
|
88
|
-
|
|
89
|
-
#endif // _MKL_RNG_DEVICE_BERNOULLI_IMPL_HPP_
|