![]() |
MFEM v4.8.0
Finite element discretization library
|
Singleton class represented a cuBLAS or hipBLAS handle. More...
#include <gpu_blas.hpp>
Static Public Member Functions | |
static HandleType | Handle () |
Return the handle, creating it if needed. | |
static void | EnableAtomics () |
Enable atomic operations. | |
static void | DisableAtomics () |
Disable atomic operations. | |
Singleton class represented a cuBLAS or hipBLAS handle.
If MFEM is compiled without CUDA or HIP, then this class has no effect.
Definition at line 31 of file gpu_blas.hpp.
|
static |
Disable atomic operations.
Definition at line 53 of file gpu_blas.cpp.
|
static |
Enable atomic operations.
Definition at line 52 of file gpu_blas.cpp.
|
static |
Return the handle, creating it if needed.
Definition at line 43 of file gpu_blas.cpp.