Skip to content

Commit dbd2ed5

Browse files
authored
[oneMKL-BLAS] Fix her/hpr scalar type (#428)
1 parent 20fdafc commit dbd2ed5

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

source/elements/oneMKL/source/domains/blas/her.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ where:
3434
:header-rows: 1
3535

3636
* - T
37+
- Ts
3738
* - ``std::complex<float>``
39+
- ``float``
3840
* - ``std::complex<double>``
41+
- ``double``
3942

4043
.. _onemkl_blas_her_buffer:
4144

@@ -50,7 +53,7 @@ her (Buffer Version)
5053
void her(sycl::queue &queue,
5154
onemkl::uplo upper_lower,
5255
std::int64_t n,
53-
T alpha,
56+
Ts alpha,
5457
sycl::buffer<T,1> &x,
5558
std::int64_t incx,
5659
sycl::buffer<T,1> &a,
@@ -62,7 +65,7 @@ her (Buffer Version)
6265
void her(sycl::queue &queue,
6366
onemkl::uplo upper_lower,
6467
std::int64_t n,
65-
T alpha,
68+
Ts alpha,
6669
sycl::buffer<T,1> &x,
6770
std::int64_t incx,
6871
sycl::buffer<T,1> &a,
@@ -148,7 +151,7 @@ her (USM Version)
148151
sycl::event her(sycl::queue &queue,
149152
onemkl::uplo upper_lower,
150153
std::int64_t n,
151-
T alpha,
154+
Ts alpha,
152155
const T *x,
153156
std::int64_t incx,
154157
T *a,
@@ -161,7 +164,7 @@ her (USM Version)
161164
sycl::event her(sycl::queue &queue,
162165
onemkl::uplo upper_lower,
163166
std::int64_t n,
164-
T alpha,
167+
Ts alpha,
165168
const T *x,
166169
std::int64_t incx,
167170
T *a,

source/elements/oneMKL/source/domains/blas/hpr.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ where:
3434
:header-rows: 1
3535

3636
* - T
37+
- Ts
3738
* - ``std::complex<float>``
39+
- ``float``
3840
* - ``std::complex<double>``
41+
- ``double``
3942

4043
.. _onemkl_blas_hpr_buffer:
4144

@@ -50,7 +53,7 @@ hpr (Buffer Version)
5053
void hpr(sycl::queue &queue,
5154
onemkl::uplo upper_lower,
5255
std::int64_t n,
53-
T alpha,
56+
Ts alpha,
5457
sycl::buffer<T,1> &x,
5558
std::int64_t incx,
5659
sycl::buffer<T,1> &a)
@@ -61,7 +64,7 @@ hpr (Buffer Version)
6164
void hpr(sycl::queue &queue,
6265
onemkl::uplo upper_lower,
6366
std::int64_t n,
64-
T alpha,
67+
Ts alpha,
6568
sycl::buffer<T,1> &x,
6669
std::int64_t incx,
6770
sycl::buffer<T,1> &a)
@@ -145,7 +148,7 @@ hpr (USM Version)
145148
sycl::event hpr(sycl::queue &queue,
146149
onemkl::uplo upper_lower,
147150
std::int64_t n,
148-
T alpha,
151+
Ts alpha,
149152
const T *x,
150153
std::int64_t incx,
151154
T *a,
@@ -157,7 +160,7 @@ hpr (USM Version)
157160
sycl::event hpr(sycl::queue &queue,
158161
onemkl::uplo upper_lower,
159162
std::int64_t n,
160-
T alpha,
163+
Ts alpha,
161164
const T *x,
162165
std::int64_t incx,
163166
T *a,

0 commit comments

Comments
 (0)