|
Expression Templates Library (ETL)
|
EGBLAS wrappers for the scalar_add operation. More...

Go to the source code of this file.
Functions | |
| template<typename T > | |
| void | etl::impl::egblas::scalar_add ([[maybe_unused]] T *x, [[maybe_unused]] size_t n, [[maybe_unused]] size_t s, [[maybe_unused]] const T beta) |
| Adds the scalar beta to each element of the single-precision vector x. More... | |
EGBLAS wrappers for the scalar_add operation.
|
inline |
Adds the scalar beta to each element of the single-precision vector x.
| x | The vector to add the scalar to (GPU pointer) |
| n | The size of the vector |
| s | The stride of the vector |
| beta | The scalar to add |
1.8.13