SIRIUS 7.5.0
Electronic structure library and applications
Typedefs | Functions
sirius::acc::blas_api Namespace Reference

Internal interface to accelerated BLAS functions (CUDA or ROCM). More...

Typedefs

using handle_t = cublasHandle_t
 
using status_t = cublasStatus_t
 
using operation_t = cublasOperation_t
 
using side_mode_t = cublasSideMode_t
 
using diagonal_t = cublasDiagType_t
 
using fill_mode_t = cublasFillMode_t
 
using complex_float_t = cuComplex
 
using complex_double_t = cuDoubleComplex
 

Functions

template<typename... ARGS>
auto create (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto destroy (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto set_stream (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto get_stream (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto sgemm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto dgemm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto cgemm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto zgemm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto dgemv (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto zgemv (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto strmm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto dtrmm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto ctrmm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto ztrmm (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto sger (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto dger (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto cgeru (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto zgeru (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto zaxpy (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto dscal (ARGS &&... args) -> status_t
 
template<typename... ARGS>
auto sscal (ARGS &&... args) -> status_t
 

Detailed Description

Internal interface to accelerated BLAS functions (CUDA or ROCM).

Typedef Documentation

◆ handle_t

using sirius::acc::blas_api::handle_t = typedef cublasHandle_t

Definition at line 47 of file acc_blas_api.hpp.

◆ status_t

using sirius::acc::blas_api::status_t = typedef cublasStatus_t

Definition at line 48 of file acc_blas_api.hpp.

◆ operation_t

using sirius::acc::blas_api::operation_t = typedef cublasOperation_t

Definition at line 49 of file acc_blas_api.hpp.

◆ side_mode_t

using sirius::acc::blas_api::side_mode_t = typedef cublasSideMode_t

Definition at line 50 of file acc_blas_api.hpp.

◆ diagonal_t

using sirius::acc::blas_api::diagonal_t = typedef cublasDiagType_t

Definition at line 51 of file acc_blas_api.hpp.

◆ fill_mode_t

using sirius::acc::blas_api::fill_mode_t = typedef cublasFillMode_t

Definition at line 52 of file acc_blas_api.hpp.

◆ complex_float_t

using sirius::acc::blas_api::complex_float_t = typedef cuComplex

Definition at line 53 of file acc_blas_api.hpp.

◆ complex_double_t

using sirius::acc::blas_api::complex_double_t = typedef cuDoubleComplex

Definition at line 54 of file acc_blas_api.hpp.

Function Documentation

◆ create()

template<typename... ARGS>
auto sirius::acc::blas_api::create ( ARGS &&...  args) -> status_t
inline

Definition at line 132 of file acc_blas_api.hpp.

◆ destroy()

template<typename... ARGS>
auto sirius::acc::blas_api::destroy ( ARGS &&...  args) -> status_t
inline

Definition at line 141 of file acc_blas_api.hpp.

◆ set_stream()

template<typename... ARGS>
auto sirius::acc::blas_api::set_stream ( ARGS &&...  args) -> status_t
inline

Definition at line 150 of file acc_blas_api.hpp.

◆ get_stream()

template<typename... ARGS>
auto sirius::acc::blas_api::get_stream ( ARGS &&...  args) -> status_t
inline

Definition at line 159 of file acc_blas_api.hpp.

◆ sgemm()

template<typename... ARGS>
auto sirius::acc::blas_api::sgemm ( ARGS &&...  args) -> status_t
inline

Definition at line 169 of file acc_blas_api.hpp.

◆ dgemm()

template<typename... ARGS>
auto sirius::acc::blas_api::dgemm ( ARGS &&...  args) -> status_t
inline

Definition at line 178 of file acc_blas_api.hpp.

◆ cgemm()

template<typename... ARGS>
auto sirius::acc::blas_api::cgemm ( ARGS &&...  args) -> status_t
inline

Definition at line 187 of file acc_blas_api.hpp.

◆ zgemm()

template<typename... ARGS>
auto sirius::acc::blas_api::zgemm ( ARGS &&...  args) -> status_t
inline

Definition at line 196 of file acc_blas_api.hpp.

◆ dgemv()

template<typename... ARGS>
auto sirius::acc::blas_api::dgemv ( ARGS &&...  args) -> status_t
inline

Definition at line 205 of file acc_blas_api.hpp.

◆ zgemv()

template<typename... ARGS>
auto sirius::acc::blas_api::zgemv ( ARGS &&...  args) -> status_t
inline

Definition at line 214 of file acc_blas_api.hpp.

◆ strmm()

template<typename... ARGS>
auto sirius::acc::blas_api::strmm ( ARGS &&...  args) -> status_t
inline

Definition at line 223 of file acc_blas_api.hpp.

◆ dtrmm()

template<typename... ARGS>
auto sirius::acc::blas_api::dtrmm ( ARGS &&...  args) -> status_t
inline

Definition at line 232 of file acc_blas_api.hpp.

◆ ctrmm()

template<typename... ARGS>
auto sirius::acc::blas_api::ctrmm ( ARGS &&...  args) -> status_t
inline

Definition at line 241 of file acc_blas_api.hpp.

◆ ztrmm()

template<typename... ARGS>
auto sirius::acc::blas_api::ztrmm ( ARGS &&...  args) -> status_t
inline

Definition at line 250 of file acc_blas_api.hpp.

◆ sger()

template<typename... ARGS>
auto sirius::acc::blas_api::sger ( ARGS &&...  args) -> status_t
inline

Definition at line 259 of file acc_blas_api.hpp.

◆ dger()

template<typename... ARGS>
auto sirius::acc::blas_api::dger ( ARGS &&...  args) -> status_t
inline

Definition at line 268 of file acc_blas_api.hpp.

◆ cgeru()

template<typename... ARGS>
auto sirius::acc::blas_api::cgeru ( ARGS &&...  args) -> status_t
inline

Definition at line 277 of file acc_blas_api.hpp.

◆ zgeru()

template<typename... ARGS>
auto sirius::acc::blas_api::zgeru ( ARGS &&...  args) -> status_t
inline

Definition at line 286 of file acc_blas_api.hpp.

◆ zaxpy()

template<typename... ARGS>
auto sirius::acc::blas_api::zaxpy ( ARGS &&...  args) -> status_t
inline

Definition at line 295 of file acc_blas_api.hpp.

◆ dscal()

template<typename... ARGS>
auto sirius::acc::blas_api::dscal ( ARGS &&...  args) -> status_t
inline

Definition at line 304 of file acc_blas_api.hpp.

◆ sscal()

template<typename... ARGS>
auto sirius::acc::blas_api::sscal ( ARGS &&...  args) -> status_t
inline

Definition at line 313 of file acc_blas_api.hpp.