diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 4d713d5ed..0a9de7579 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -34,9 +34,9 @@ jobs:
fail-fast: false
matrix:
include:
- - config: portBLAS
+ - config: generic SYCL BLAS
domain: blas
- build_options: -DREF_BLAS_ROOT=${PWD}/lapack/install -DENABLE_PORTBLAS_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF -DPORTBLAS_TUNING_TARGET=INTEL_CPU
+ build_options: -DREF_BLAS_ROOT=${PWD}/lapack/install -DENABLE_GENERIC_BLAS_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF -DGENERIC_BLAS_TUNING_TARGET=INTEL_CPU
- config: portFFT
domain: dft
build_options: -DENABLE_PORTFFT_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 184314e7b..cef412bdc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@ endif()
option(ENABLE_CUBLAS_BACKEND "Enable the cuBLAS backend for the BLAS interface" OFF)
option(ENABLE_ROCBLAS_BACKEND "Enable the rocBLAS backend for the BLAS interface" OFF)
option(ENABLE_NETLIB_BACKEND "Enable the Netlib backend for the BLAS interface" OFF)
-option(ENABLE_PORTBLAS_BACKEND "Enable the portBLAS backend for the BLAS interface. Cannot be used with other BLAS backends." OFF)
+option(ENABLE_GENERIC_BLAS_BACKEND "Enable the generic BLAS backend for the BLAS interface. Cannot be used with other BLAS backends." OFF)
# rand
option(ENABLE_CURAND_BACKEND "Enable the cuRAND backend for the RNG interface" OFF)
@@ -76,6 +76,11 @@ option(BUILD_EXAMPLES "" ON)
## Documentation
option(BUILD_DOC "" OFF)
+if(DEFINED ENABLE_PORTBLAS_BACKEND)
+ message(WARNING "PORTBLAS_BACKEND is deprecated, please use ENABLE_GENERIC_BLAS_BACKEND.")
+ set(ENABLE_GENERIC_BLAS_BACKEND ${ENABLE_PORTBLAS_BACKEND})
+endif()
+
## Supported domains
set(DOMAINS_LIST "")
if(ENABLE_MKLCPU_BACKEND
@@ -83,7 +88,7 @@ if(ENABLE_MKLCPU_BACKEND
OR ENABLE_CUBLAS_BACKEND
OR ENABLE_ROCBLAS_BACKEND
OR ENABLE_NETLIB_BACKEND
- OR ENABLE_PORTBLAS_BACKEND)
+ OR ENABLE_GENERIC_BLAS_BACKEND)
list(APPEND DOMAINS_LIST "blas")
endif()
if(ENABLE_MKLCPU_BACKEND
@@ -112,13 +117,13 @@ if(ENABLE_MKLCPU_BACKEND
list(APPEND DOMAINS_LIST "sparse_blas")
endif()
-if(ENABLE_PORTBLAS_BACKEND
+if(ENABLE_GENERIC_BLAS_BACKEND
AND (ENABLE_MKLCPU_BACKEND
OR ENABLE_MKLGPU_BACKEND
OR ENABLE_CUBLAS_BACKEND
OR ENABLE_ROCBLAS_BACKEND
OR ENABLE_NETLIB_BACKEND))
- message(FATAL_ERROR "ENABLE_PORTBLAS_BACKEND cannot be enabled at the same time as other BLAS backends.")
+ message(FATAL_ERROR "ENABLE_GENERIC_BLAS_BACKEND cannot be enabled at the same time as other BLAS backends.")
endif()
if (ENABLE_PORTFFT_BACKEND
diff --git a/README.md b/README.md
index f74d6600a..4345fb7c9 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ oneMath is part of the [UXL Foundation](http://www.uxlfoundation.org).
AMD GPU |
- portBLAS |
+ generic SYCL BLAS |
x86 CPU, Intel GPU, NVIDIA GPU, AMD GPU, Other SYCL devices (unsupported) |
@@ -192,7 +192,7 @@ Supported compilers include:
Dynamic, Static |
- portBLAS |
+ generic SYCL BLAS |
Intel DPC++Open DPC++ |
Dynamic, Static |
@@ -203,7 +203,7 @@ Supported compilers include:
Dynamic, Static |
- portBLAS |
+ generic SYCL BLAS |
Intel DPC++Open DPC++ |
Dynamic, Static |
@@ -214,7 +214,7 @@ Supported compilers include:
Dynamic, Static |
- portBLAS |
+ generic SYCL BLAS |
Open DPC++ |
Dynamic, Static |
@@ -225,13 +225,13 @@ Supported compilers include:
Dynamic, Static |
- portBLAS |
+ generic SYCL BLAS |
Open DPC++ |
Dynamic, Static |
Other SYCL devices (unsupported) |
- portBLAS |
+ generic SYCL BLAS |
Intel DPC++Open DPC++ |
Dynamic, Static |
@@ -549,7 +549,7 @@ Product | Supported Version | License
[AMD rocFFT](https://github.com/ROCm/rocFFT) | rocm-5.4.3 | [AMD License](https://github.com/ROCm/rocFFT/blob/rocm-5.4.3/LICENSE.md)
[AMD rocSPARSE](https://github.com/ROCm/rocSPARSE) | 3.1.2 | [AMD License](https://github.com/ROCm/rocSPARSE/blob/develop/LICENSE.md)
[NETLIB LAPACK](https://www.netlib.org/) | [5d4180c](https://github.com/Reference-LAPACK/lapack/commit/5d4180cf8288ae6ad9a771d18793d15bd0c5643c) | [BSD like license](http://www.netlib.org/lapack/LICENSE.txt)
-[portBLAS](https://github.com/codeplaysoftware/portBLAS) | 0.1 | [Apache License v2.0](https://github.com/codeplaysoftware/portBLAS/blob/main/LICENSE)
+[Generic SYCL BLAS](https://github.com/uxlfoundation/generic-sycl-components/tree/main/onemath/sycl/blas) | 0.1 | [Apache License v2.0](https://github.com/uxlfoundation/generic-sycl-components/blob/main/LICENSE)
[portFFT](https://github.com/codeplaysoftware/portFFT) | 0.1 | [Apache License v2.0](https://github.com/codeplaysoftware/portFFT/blob/main/LICENSE)
---
diff --git a/docs/building_the_project_with_dpcpp.rst b/docs/building_the_project_with_dpcpp.rst
index 4f1c076ef..26e4ba818 100644
--- a/docs/building_the_project_with_dpcpp.rst
+++ b/docs/building_the_project_with_dpcpp.rst
@@ -59,8 +59,8 @@ or ``clang++`` and ``clang`` respectively when using the Open DPC++ Compiler.
Backends should be enabled by setting ``-DENABLE__BACKEND=True``
for each desired backend. By default, only the ``MKLGPU`` and ``MKLCPU``
backends are enabled. Multiple backends for multiple device vendors can be
-enabled at once (albeit with limitations when using portBLAS and portFFT). The
-supported backends for the compilers are given in the table at `oneMath
+enabled at once (albeit with limitations when using oneMath generic SYCL BLAS and portFFT).
+The supported backends for the compilers are given in the table at `oneMath
supported configurations table
`_,
and the CMake option names are given in the table below. Some backends may
@@ -127,7 +127,7 @@ The most important supported build options are:
* - ENABLE_MKLCPU_THREAD_TBB
- True, False
- True
- * - ENABLE_PORTBLAS_BACKEND
+ * - ENABLE_GENERIC_BLAS_BACKEND
- True, False
- False
* - ENABLE_PORTFFT_BACKEND
@@ -239,19 +239,19 @@ SYCL enables portable heterogeneous computing on a wide range of accelerators.
Consequently, it is possible to use oneMath with accelerators not anticipated by
the project.
-For generic SYCL devices, only portBLAS and portFFT backend are enabled.
+For generic SYCL devices, only generic BLAS and portFFT backend are enabled.
The user must set the appropriate ``-fsycl-targets`` for their device, and also
-any other option required for performance. See `Building for portBLAS`_ and
+any other option required for performance. See `Building for oneMath generic SYCL BLAS`_ and
`Building for portFFT`_. Extensive testing is strongly advised for these
unsupported configurations.
.. _build_for_portlibs_dpcpp:
-Pure SYCL backends: portBLAS and portFFT
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Pure SYCL backends: generic BLAS and portFFT
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-`portBLAS `_ and `portFFT
-`_ are experimental pure-SYCL
+`Generic SYCL BLAS `_
+and `portFFT `_ are experimental pure-SYCL
backends that work on all SYCL targets supported by the DPC++ compiler. Since
they support multiple targets, they cannot be enabled with other backends in the
same domain, or the ``MKLCPU`` or ``MKLGPU`` backends. Both libraries are
@@ -260,35 +260,35 @@ experimental and currently only support a subset of operations and features.
For best performance, both libraries must be tuned. See the individual sections
for more details.
-Both portBLAS and portFFT are used as header-only libraries, and will be
+Both generic SYCL BLAS and portFFT are used as header-only libraries, and will be
downloaded automatically if not found.
-.. _build_for_portblas_dpcpp:
+.. _build_for_generic_blas_dpcpp:
-Building for portBLAS
----------------------
+Building for oneMath generic SYCL BLAS
+--------------------------------------
-`portBLAS `_ is
-enabled by setting ``-DENABLE_PORTBLAS_BACKEND=True``.
+`onemath generic SYCL BLAS `_
+is enabled by setting ``-DENABLE_GENERIC_BLAS_BACKEND=True``.
-By default, the portBLAS backend is not tuned for any specific device.
+By default, the generic BLAS backend is not tuned for any specific device.
This tuning is required to achieve best performance.
-portBLAS can be tuned for a specific hardware target by adding compiler
+The generic SYCL BLAS backend can be tuned for a specific hardware target by adding compiler
definitions in 2 ways:
#.
- Manually specify a tuning target with ``-DPORTBLAS_TUNING_TARGET=``.
- The list of portBLAS targets can be found
- `here `_.
+ Manually specify a tuning target with ``-DGENERIC_BLAS_TUNING_TARGET=``.
+ The list of oneMath SYCL BLAS targets can be found
+ `here `_.
This will automatically set ``-fsycl-targets`` if needed.
#.
If one target is set via ``-fsycl-targets`` the configuration step will
- try to automatically detect the portBLAS tuning target. One can manually
+ try to automatically detect the oneMath SYCL BLAS tuning target. One can manually
specify ``-fsycl-targets`` via ``CMAKE_CXX_FLAGS``. See
`DPC++ User Manual `_
for more information on ``-fsycl-targets``.
-portBLAS relies heavily on JIT compilation. This may cause time-outs on some
+OneMath SYCL BLAS relies heavily on JIT compilation. This may cause time-outs on some
systems. To avoid this issue, use ahead-of-time compilation through tuning
targets or ``sycl-targets``.
@@ -439,11 +439,10 @@ Build oneMath for the BLAS domain on a generic SYCL device:
-DCMAKE_C_COMPILER=clang \
-DENABLE_MKLCPU_BACKEND=False \
-DENABLE_MKLGPU_BACKEND=False \
- -DENABLE_PORTBLAS_BACKEND=True
+ -DENABLE_GENERIC_BLAS_BACKEND=True
Note that this is not a tested configuration. This builds oneMath with the
-portBLAS backend only, for a generic SYCL device supported by the Open DPC++
-project.
+generic SYCL BLAS backend only, for a generic SYCL device.
Build oneMath for the DFT domain on a generic SYCL device:
diff --git a/examples/blas/run_time_dispatching/level3/CMakeLists.txt b/examples/blas/run_time_dispatching/level3/CMakeLists.txt
index 1b3f992c4..b7accf474 100644
--- a/examples/blas/run_time_dispatching/level3/CMakeLists.txt
+++ b/examples/blas/run_time_dispatching/level3/CMakeLists.txt
@@ -40,15 +40,15 @@ endif()
if(ENABLE_ROCBLAS_BACKEND)
list(APPEND DEVICE_FILTERS "hip:gpu")
endif()
-if(ENABLE_PORTBLAS_BACKEND)
- if(PORTBLAS_TUNING_TARGET)
- if(PORTBLAS_TUNING_TARGET MATCHES "INTEL_CPU")
+if(ENABLE_GENERIC_BLAS_BACKEND)
+ if(GENERIC_BLAS_TUNING_TARGET)
+ if(GENERIC_BLAS_TUNING_TARGET MATCHES "INTEL_CPU")
list(APPEND DEVICE_FILTERS "opencl:cpu")
- elseif(PORTBLAS_TUNING_TARGET MATCHES "_GPU")
+ elseif(GENERIC_BLAS_TUNING_TARGET MATCHES "_GPU")
list(APPEND DEVICE_FILTERS "*:gpu")
endif()
else()
- # portBLAS default sycl-target is spir64, testing runtime on both supported
+ # onemath_sycl_blas default sycl-target is spir64, testing runtime on both supported
# devices.
list(APPEND DEVICE_FILTERS "opencl:cpu;level_zero:gpu")
endif()
diff --git a/include/oneapi/math/blas.hpp b/include/oneapi/math/blas.hpp
index a58f72fb4..86a610eb8 100644
--- a/include/oneapi/math/blas.hpp
+++ b/include/oneapi/math/blas.hpp
@@ -49,8 +49,8 @@
#ifdef ONEMATH_ENABLE_NETLIB_BACKEND
#include "oneapi/math/blas/detail/netlib/blas_ct.hpp"
#endif
-#ifdef ONEMATH_ENABLE_PORTBLAS_BACKEND
-#include "oneapi/math/blas/detail/portblas/blas_ct.hpp"
+#ifdef ONEMATH_ENABLE_GENERIC_BLAS_BACKEND
+#include "oneapi/math/blas/detail/generic/blas_ct.hpp"
#endif
namespace oneapi {
diff --git a/include/oneapi/math/blas/detail/blas_ct_backends.hpp b/include/oneapi/math/blas/detail/blas_ct_backends.hpp
index ee2631fba..4128acb3d 100644
--- a/include/oneapi/math/blas/detail/blas_ct_backends.hpp
+++ b/include/oneapi/math/blas/detail/blas_ct_backends.hpp
@@ -51,7 +51,7 @@ namespace column_major {
#define BACKEND netlib
#include "blas_ct_backends.hxx"
#undef BACKEND
-#define BACKEND portblas
+#define BACKEND generic
#include "blas_ct_backends.hxx"
#undef BACKEND
@@ -73,7 +73,7 @@ namespace row_major {
#define BACKEND netlib
#include "blas_ct_backends.hxx"
#undef BACKEND
-#define BACKEND portblas
+#define BACKEND generic
#include "blas_ct_backends.hxx"
#undef BACKEND
diff --git a/include/oneapi/math/blas/detail/portblas/blas_ct.hpp b/include/oneapi/math/blas/detail/generic/blas_ct.hpp
similarity index 88%
rename from include/oneapi/math/blas/detail/portblas/blas_ct.hpp
rename to include/oneapi/math/blas/detail/generic/blas_ct.hpp
index c79dc2dbd..31da6d99a 100644
--- a/include/oneapi/math/blas/detail/portblas/blas_ct.hpp
+++ b/include/oneapi/math/blas/detail/generic/blas_ct.hpp
@@ -17,8 +17,8 @@
*
**************************************************************************/
-#ifndef _DETAIL_PORTBLAS_BLAS_CT_HPP_
-#define _DETAIL_PORTBLAS_BLAS_CT_HPP_
+#ifndef _DETAIL_GENERIC_BLAS_BLAS_CT_HPP_
+#define _DETAIL_GENERIC_BLAS_BLAS_CT_HPP_
#if __has_include()
#include
@@ -30,7 +30,7 @@
#include "oneapi/math/types.hpp"
#include "oneapi/math/detail/backend_selector.hpp"
-#include "oneapi/math/blas/detail/portblas/onemath_blas_portblas.hpp"
+#include "oneapi/math/blas/detail/generic/onemath_blas_generic.hpp"
#include "oneapi/math/blas/detail/blas_ct_backends.hpp"
namespace oneapi {
@@ -54,4 +54,4 @@ namespace row_major {
} //namespace math
} //namespace oneapi
-#endif //_DETAIL_PORTBLAS_BLAS_CT_HPP_
+#endif //_DETAIL_GENERIC_BLAS_BLAS_CT_HPP_
diff --git a/include/oneapi/math/blas/detail/portblas/blas_ct.hxx b/include/oneapi/math/blas/detail/generic/blas_ct.hxx
similarity index 56%
rename from include/oneapi/math/blas/detail/portblas/blas_ct.hxx
rename to include/oneapi/math/blas/detail/generic/blas_ct.hxx
index 2f3694c6e..d96f43e62 100644
--- a/include/oneapi/math/blas/detail/portblas/blas_ct.hxx
+++ b/include/oneapi/math/blas/detail/generic/blas_ct.hxx
@@ -19,4277 +19,4275 @@
// Buffer APIs
-void herk(backend_selector selector, uplo upper_lower, transpose trans,
+void herk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, float alpha, sycl::buffer, 1>& a,
std::int64_t lda, float beta, sycl::buffer, 1>& c, std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::herk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::herk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void herk(backend_selector selector, uplo upper_lower, transpose trans,
+void herk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, double alpha, sycl::buffer, 1>& a,
std::int64_t lda, double beta, sycl::buffer, 1>& c,
std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::herk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::herk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void scal(backend_selector selector, std::int64_t n, float alpha,
+void scal(backend_selector selector, std::int64_t n, float alpha,
sycl::buffer& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void scal(backend_selector selector, std::int64_t n, double alpha,
+void scal(backend_selector selector, std::int64_t n, double alpha,
sycl::buffer& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void scal(backend_selector selector, std::int64_t n, std::complex alpha,
+void scal(backend_selector selector, std::int64_t n, std::complex alpha,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void scal(backend_selector selector, std::int64_t n, std::complex alpha,
+void scal(backend_selector selector, std::int64_t n, std::complex alpha,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void scal(backend_selector selector, std::int64_t n, float alpha,
+void scal(backend_selector selector, std::int64_t n, float alpha,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void scal(backend_selector selector, std::int64_t n, double alpha,
+void scal(backend_selector selector, std::int64_t n, double alpha,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
+ oneapi::math::blas::generic::MAJOR::scal(selector.get_queue(), n, alpha, x, incx);
}
-void trmv(backend_selector selector, uplo upper_lower, transpose trans,
+void trmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer& a, std::int64_t lda,
sycl::buffer& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, lda, x, incx);
+ oneapi::math::blas::generic::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, lda, x, incx);
}
-void trmv(backend_selector selector, uplo upper_lower, transpose trans,
+void trmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer& a, std::int64_t lda,
sycl::buffer& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, lda, x, incx);
+ oneapi::math::blas::generic::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, lda, x, incx);
}
-void trmv(backend_selector selector, uplo upper_lower, transpose trans,
+void trmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer, 1>& a, std::int64_t lda,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, lda, x, incx);
+ oneapi::math::blas::generic::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, lda, x, incx);
}
-void trmv(backend_selector selector, uplo upper_lower, transpose trans,
+void trmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer, 1>& a,
std::int64_t lda, sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, lda, x, incx);
+ oneapi::math::blas::generic::MAJOR::trmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, lda, x, incx);
}
-void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
+void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer& a, sycl::buffer& x,
std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, x, incx);
+ oneapi::math::blas::generic::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, x, incx);
}
-void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
+void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer& a, sycl::buffer& x,
std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, x, incx);
+ oneapi::math::blas::generic::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, x, incx);
}
-void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
+void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer, 1>& a,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, x, incx);
+ oneapi::math::blas::generic::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, x, incx);
}
-void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
+void tpmv(backend_selector selector, uplo upper_lower, transpose trans,
diag unit_diag, std::int64_t n, sycl::buffer, 1>& a,
sycl::buffer, 1>& x, std::int64_t incx) {
- oneapi::math::blas::portblas::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag,
- n, a, x, incx);
+ oneapi::math::blas::generic::MAJOR::tpmv(selector.get_queue(), upper_lower, trans, unit_diag, n,
+ a, x, incx);
}
-void spr(backend_selector selector, uplo upper_lower, std::int64_t n,
- float alpha, sycl::buffer& x, std::int64_t incx, sycl::buffer& a) {
- oneapi::math::blas::portblas::MAJOR::spr(selector.get_queue(), upper_lower, n, alpha, x, incx,
- a);
+void spr(backend_selector selector, uplo upper_lower, std::int64_t n, float alpha,
+ sycl::buffer& x, std::int64_t incx, sycl::buffer& a) {
+ oneapi::math::blas::generic::MAJOR::spr(selector.get_queue(), upper_lower, n, alpha, x, incx,
+ a);
}
-void spr(backend_selector selector, uplo upper_lower, std::int64_t n,
+void spr(backend_selector selector, uplo upper_lower, std::int64_t n,
double alpha, sycl::buffer& x, std::int64_t incx, sycl::buffer& a) {
- oneapi::math::blas::portblas::MAJOR::spr(selector.get_queue(), upper_lower, n, alpha, x, incx,
- a);
+ oneapi::math::blas::generic::MAJOR::spr(selector.get_queue(), upper_lower, n, alpha, x, incx,
+ a);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, float alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b, float beta,
sycl::buffer& c, std::int64_t ldc, std::int64_t stride_c,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, double alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b, double beta,
sycl::buffer& c, std::int64_t ldc, std::int64_t stride_c,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer, 1>& b, std::int64_t ldb, std::int64_t stride_b,
std::complex beta, sycl::buffer, 1>& c, std::int64_t ldc,
std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer, 1>& b, std::int64_t ldb, std::int64_t stride_b,
std::complex beta, sycl::buffer, 1>& c,
std::int64_t ldc, std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, sycl::half alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b,
sycl::half beta, sycl::buffer& c, std::int64_t ldc,
std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, float alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b, float beta,
sycl::buffer& c, std::int64_t ldc, std::int64_t stride_c,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, float alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b,
float beta, sycl::buffer& c, std::int64_t ldc, std::int64_t stride_c,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void gemm_batch(backend_selector selector, transpose transa, transpose transb,
+void gemm_batch(backend_selector selector, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, float alpha,
sycl::buffer& a, std::int64_t lda, std::int64_t stride_a,
sycl::buffer& b, std::int64_t ldb, std::int64_t stride_b,
float beta, sycl::buffer& c, std::int64_t ldc,
std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
- alpha, a, lda, stride_a, b, ldb, stride_b, beta,
- c, ldc, stride_c, batch_size);
+ oneapi::math::blas::generic::MAJOR::gemm_batch(selector.get_queue(), transa, transb, m, n, k,
+ alpha, a, lda, stride_a, b, ldb, stride_b, beta,
+ c, ldc, stride_c, batch_size);
}
-void syrk(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, float alpha, sycl::buffer& a, std::int64_t lda,
float beta, sycl::buffer& c, std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void syrk(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, double alpha, sycl::buffer& a,
std::int64_t lda, double beta, sycl::buffer& c, std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void syrk(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::complex beta,
sycl::buffer, 1>& c, std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void syrk(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::complex beta,
sycl::buffer, 1>& c, std::int64_t ldc) {
- oneapi::math::blas::portblas::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
- a, lda, beta, c, ldc);
+ oneapi::math::blas::generic::MAJOR::syrk(selector.get_queue(), upper_lower, trans, n, k, alpha,
+ a, lda, beta, c, ldc);
}
-void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, float alpha, sycl::buffer& a,
std::int64_t lda, std::int64_t stride_a, float beta, sycl::buffer& c,
std::int64_t ldc, std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
- alpha, a, lda, stride_a, beta, c, ldc, stride_c,
- batch_size);
+ oneapi::math::blas::generic::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
+ alpha, a, lda, stride_a, beta, c, ldc, stride_c,
+ batch_size);
}
-void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, double alpha, sycl::buffer& a,
std::int64_t lda, std::int64_t stride_a, double beta, sycl::buffer& c,
std::int64_t ldc, std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
- alpha, a, lda, stride_a, beta, c, ldc, stride_c,
- batch_size);
+ oneapi::math::blas::generic::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
+ alpha, a, lda, stride_a, beta, c, ldc, stride_c,
+ batch_size);
}
-void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::int64_t stride_a,
std::complex beta, sycl::buffer, 1>& c, std::int64_t ldc,
std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
- alpha, a, lda, stride_a, beta, c, ldc, stride_c,
- batch_size);
+ oneapi::math::blas::generic::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
+ alpha, a, lda, stride_a, beta, c, ldc, stride_c,
+ batch_size);
}
-void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
+void syrk_batch(backend_selector selector, uplo upper_lower, transpose trans,
std::int64_t n, std::int64_t k, std::complex alpha,
sycl::buffer, 1>& a, std::int64_t lda, std::int64_t stride_a,
std::complex beta, sycl::buffer, 1>& c,
std::int64_t ldc, std::int64_t stride_c, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
- alpha, a, lda, stride_a, beta, c, ldc, stride_c,
- batch_size);
+ oneapi::math::blas::generic::MAJOR::syrk_batch(selector.get_queue(), upper_lower, trans, n, k,
+ alpha, a, lda, stride_a, beta, c, ldc, stride_c,
+ batch_size);
}
-void her2(backend_selector selector, uplo upper_lower, std::int64_t n,
+void her2(backend_selector selector, uplo upper_lower, std::int64_t n,
std::complex alpha, sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy,
sycl::buffer, 1>& a, std::int64_t lda) {
- oneapi::math::blas::portblas::MAJOR::her2(selector.get_queue(), upper_lower, n, alpha, x, incx,
- y, incy, a, lda);
+ oneapi::math::blas::generic::MAJOR::her2(selector.get_queue(), upper_lower, n, alpha, x, incx,
+ y, incy, a, lda);
}
-void her2(backend_selector selector, uplo upper_lower, std::int64_t n,
+void her2(backend_selector selector, uplo upper_lower, std::int64_t n,
std::complex alpha, sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy,
sycl::buffer, 1>& a, std::int64_t lda) {
- oneapi::math::blas::portblas::MAJOR::her2(selector.get_queue(), upper_lower, n, alpha, x, incx,
- y, incy, a, lda);
+ oneapi::math::blas::generic::MAJOR::her2(selector.get_queue(), upper_lower, n, alpha, x, incx,
+ y, incy, a, lda);
}
-void hbmv(backend_selector selector, uplo upper_lower, std::int64_t n,
+void hbmv(backend_selector selector, uplo upper_lower, std::int64_t n,
std::int64_t k, std::complex alpha, sycl::buffer, 1>& a,
std::int64_t lda, sycl::buffer, 1>& x, std::int64_t incx,
std::complex beta, sycl::buffer, 1>& y, std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::hbmv(selector.get_queue(), upper_lower, n, k, alpha, a,
- lda, x, incx, beta, y, incy);
+ oneapi::math::blas::generic::MAJOR::hbmv(selector.get_queue(), upper_lower, n, k, alpha, a, lda,
+ x, incx, beta, y, incy);
}
-void hbmv(backend_selector selector, uplo upper_lower, std::int64_t n,
+void hbmv(backend_selector selector, uplo upper_lower, std::int64_t n,
std::int64_t k, std::complex alpha, sycl::buffer, 1>& a,
std::int64_t lda, sycl::buffer, 1>& x, std::int64_t incx,
std::complex beta, sycl::buffer, 1>& y, std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::hbmv(selector.get_queue(), upper_lower, n, k, alpha, a,
- lda, x, incx, beta, y, incy);
+ oneapi::math::blas::generic::MAJOR::hbmv(selector.get_queue(), upper_lower, n, k, alpha, a, lda,
+ x, incx, beta, y, incy);
}
-void rot(backend_selector selector, std::int64_t n,
+void rot(backend_selector selector, std::int64_t n,
sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy, float c, float s) {
- oneapi::math::blas::portblas::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
+ oneapi::math::blas::generic::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
}
-void rot(backend_selector selector, std::int64_t n,
+void rot(backend_selector selector, std::int64_t n,
sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy, double c, double s) {
- oneapi::math::blas::portblas::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
+ oneapi::math::blas::generic::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
}
-void rot(backend_selector selector, std::int64_t n, sycl::buffer& x,
+void rot(backend_selector selector, std::int64_t n, sycl::buffer& x,
std::int64_t incx, sycl::buffer& y, std::int64_t incy, float c, float s) {
- oneapi::math::blas::portblas::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
+ oneapi::math::blas::generic::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
}
-void rot(backend_selector selector, std::int64_t n, sycl::buffer& x,
+void rot(backend_selector selector, std::int64_t n, sycl::buffer& x,
std::int64_t incx, sycl::buffer& y, std::int64_t incy, double c, double s) {
- oneapi::math::blas::portblas::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
+ oneapi::math::blas::generic::MAJOR::rot(selector.get_queue(), n, x, incx, y, incy, c, s);
}
-void axpy(backend_selector selector, std::int64_t n, float alpha,
+void axpy(backend_selector selector, std::int64_t n, float alpha,
sycl::buffer& x, std::int64_t incx, sycl::buffer& y,
std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
+ oneapi::math::blas::generic::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
}
-void axpy(backend_selector selector, std::int64_t n, double alpha,
+void axpy(backend_selector selector, std::int64_t n, double alpha,
sycl::buffer& x, std::int64_t incx, sycl::buffer& y,
std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
+ oneapi::math::blas::generic::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
}
-void axpy(backend_selector selector, std::int64_t n, std::complex alpha,
+void axpy(backend_selector selector, std::int64_t n, std::complex alpha,
sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
+ oneapi::math::blas::generic::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
}
-void axpy(backend_selector selector, std::int64_t n, std::complex alpha,
+void axpy(backend_selector selector, std::int64_t n, std::complex alpha,
sycl::buffer, 1>& x, std::int64_t incx,
sycl::buffer, 1>& y, std::int64_t incy) {
- oneapi::math::blas::portblas::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
+ oneapi::math::blas::generic::MAJOR::axpy(selector.get_queue(), n, alpha, x, incx, y, incy);
}
-void axpy_batch(backend_selector selector, std::int64_t n, float alpha,
+void axpy_batch(backend_selector selector, std::int64_t n, float alpha,
sycl::buffer& x, std::int64_t incx, std::int64_t stridex,
sycl::buffer& y, std::int64_t incy, std::int64_t stridey,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx,
- stridex, y, incy, stridey, batch_size);
+ oneapi::math::blas::generic::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx, stridex,
+ y, incy, stridey, batch_size);
}
-void axpy_batch(backend_selector selector, std::int64_t n, double alpha,
+void axpy_batch(backend_selector selector, std::int64_t n, double alpha,
sycl::buffer& x, std::int64_t incx, std::int64_t stridex,
sycl::buffer& y, std::int64_t incy, std::int64_t stridey,
std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx,
- stridex, y, incy, stridey, batch_size);
+ oneapi::math::blas::generic::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx, stridex,
+ y, incy, stridey, batch_size);
}
-void axpy_batch(backend_selector selector, std::int64_t n,
+void axpy_batch(backend_selector selector, std::int64_t n,
std::complex alpha, sycl::buffer, 1>& x,
std::int64_t incx, std::int64_t stridex, sycl::buffer, 1>& y,
std::int64_t incy, std::int64_t stridey, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx,
- stridex, y, incy, stridey, batch_size);
+ oneapi::math::blas::generic::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx, stridex,
+ y, incy, stridey, batch_size);
}
-void axpy_batch(backend_selector selector, std::int64_t n,
+void axpy_batch(backend_selector selector, std::int64_t n,
std::complex alpha, sycl::buffer, 1>& x,
std::int64_t incx, std::int64_t stridex, sycl::buffer, 1>& y,
std::int64_t incy, std::int64_t stridey, std::int64_t batch_size) {
- oneapi::math::blas::portblas::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx,
- stridex, y, incy, stridey, batch_size);
+ oneapi::math::blas::generic::MAJOR::axpy_batch(selector.get_queue(), n, alpha, x, incx, stridex,
+ y, incy, stridey, batch_size);
}
-void axpby(backend_selector