Skip to content

Exported functions

Daine McNiven edited this page Mar 17, 2021 · 4 revisions

Exported BLAS functions

hipBLAS includes the following auxiliary functions

Function name
hipblasCreate
hipblasDestroy
hipblasSetStream
hipblasGetStream
hipblasSetPointerMode
hipblasGetPointerMode
hipblasSetVector
hipblasGetVector
hipblasSetMatrix
hipblasGetMatrix
hipblasSetVectorAsync
hipblasGetVectorAsync
hipblasSetMatrixAsync
hipblasGetMatrixAsync
hipblasSetAtomicsMode
hipblasGetAtomicsMode

hipBLAS includes the following Level 1, 2, and 3 functions

Level 1

Function single double single complex double complex half batched (rocBLAS)
hipblasXscal x x x x x
hipblasXcopy x x x x x
hipblasXdot x x x x x x
hipblasXaxpy x x x x x x
hipblasXasum x x x x x
hipblasiXamax x x x x x
hipblasiXamin x x x x x
hipblasXnrm2 x x x x x
hipblasXrot x x x x x
hipblasXrotg x x x x x
hipblasXrotm x x x
hipblasXrotmg x x x
hipblasXswap x x x x x

Level 2

Function single double single complex double complex half batched (rocBLAS)
hipblasXgbmv x x x x x
hipblasXgemv x x x x x
hipblasXger x x x x x
hipblasXhbmv x x x
hipblasXhemv x x x
hipblasXher x x x
hipblasXher2 x x x
hipblasXhpmv x x x
hipblasXhpr x x x
hipblasXhpr2 x x x
hipblasXsbmv x x x
hipblasXspmv x x x
hipblasXspr x x x x x
hipblasXspr2 x x x
hipblasXsymv x x x x x
hipblasXsyr x x x x x
hipblasXsyr2 x x x x x
hipblasXtbmv x x x x x
hipblasXtbsv x x x x x
hipblasXtpmv x x x x x
hipblasXtpsv x x x x x
hipblasXtrmv x x x x x
hipblasXtrsv x x x x x

Level 3

Function single double single complex double complex half batched (rocBLAS)
hipblasXherk x x x
hipblasXherkx x x x
hipblasXher2k x x x
hipblasXsymm x x x x x
hipblasXsyrk x x x x x
hipblasXsyr2k x x x x x
hipblasXsyrkx x x x x x
hipblasXhemm x x x
hipblasXtrmm x x x x x
hipblasXtrsm x x x x x
hipblasXtrtri x x x x x
hipblasXdgmm x x x x x
hipblasXgeam x x x x x
hipblasXgemm x x x x x x

Solver functions

Function single double single complex double complex half batched (rocSOLVER)
hipblasXgetrf x x x x x
hipblasXgetrs x x x x x
hipblasXgetriBatched x x x x x
hipblasXgeqrf x x x x x

Blas_ex functions

Function
hipblasGemmEx
hipblasTrsmEx
hipblasAxpyEx
hipblasDotEx
hipblasNrm2Ex
hipblasRotEx
hipblasScalEx

For more details on respective backend support, please see rocBLAS or cuBLAS documentation.