MFEM v4.8.0
Finite element discretization library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
mfem::GPUBlas Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ DisableAtomics()

void mfem::GPUBlas::DisableAtomics ( )
static

Disable atomic operations.

Definition at line 53 of file gpu_blas.cpp.

◆ EnableAtomics()

void mfem::GPUBlas::EnableAtomics ( )
static

Enable atomic operations.

Definition at line 52 of file gpu_blas.cpp.

◆ Handle()

GPUBlas::HandleType mfem::GPUBlas::Handle ( )
static

Return the handle, creating it if needed.

Definition at line 43 of file gpu_blas.cpp.


The documentation for this class was generated from the following files: