1#if defined(SIRIUS_CUDA) || defined(SIRIUS_ROCM)
10acc::blas_api::handle_t&
13 static acc::blas_api::handle_t null_stream_handle_;
14 return null_stream_handle_;
17std::vector<acc::blas_api::handle_t>&
20 static std::vector<acc::blas_api::handle_t> stream_handles_;
21 return stream_handles_;
24#if defined(SIRIUS_CUDA)
29 static cublasXtHandle_t handle;
Blas functions for execution on GPUs.
acc::blas_api::handle_t & null_stream_handle()
Store the default (null) stream handler.
std::vector< acc::blas_api::handle_t > & stream_handles()
Store the gpublas handlers associated with acc streams.
Namespace of the SIRIUS library.