muBLAS API Reference
Functions
function mublasIsamax
mublasStatus mublasIsamax(
mublasHandle_t handle,
mublas_int n,
const float * x,
mublas_int incx,
mublas_int * result
)
function mublasIdamax
mublasStatus mublasIdamax(
mublasHandle_t handle,
mublas_int n,
const double * x,
mublas_int incx,
mublas_int * result
)
function mublasIzamax
mublasStatus mublasIzamax(
mublasHandle_t handle,
mublas_int n,
const muDoubleComplex * x,
mublas_int incx,
mublas_int * result
)
BLAS Level 1 API
Parameters:
- handle [mublasHandle_t] handle to the mublas library context queue.
- n [mublas_int] the number of elements in x.
- x device pointer storing vector x.
- incx [mublas_int] specifies the increment for the elements of y.
- result device pointer or host pointer to store the amax index. return is 0.0 if n,
incx <= 0.
amax finds the first index of the element of maximum magnitude of a vector x. vector
function mublasIcamax
mublasStatus mublasIcamax(
mublasHandle_t handle,
mublas_int n,
const muComplex * x,
mublas_int incx,
mublas_int * result
)