31 #ifndef __TASMANIAN_SPARSE_GRID_ACCELERATED_HANDLES
32 #define __TASMANIAN_SPARSE_GRID_ACCELERATED_HANDLES
101 template<
typename ehandle>
void deleteHandle(int *)
Deletes the handle, specialized for each TPL backend and tag in TasGrid::AccHandle namepace.
Encapsulates the Tasmanian Sparse Grid module.
Definition: TasmanianSparseGrid.hpp:68
cuBlas handle.
Definition: tsgAcceleratedHandles.hpp:47
cuSolver handle.
Definition: tsgAcceleratedHandles.hpp:51
cuSparse handle.
Definition: tsgAcceleratedHandles.hpp:49
rocBlas handle.
Definition: tsgAcceleratedHandles.hpp:53
rocSparse handle.
Definition: tsgAcceleratedHandles.hpp:55
SYCL queue handle.
Definition: tsgAcceleratedHandles.hpp:57
Deleter template for the GPU handles, e.g., cuBlas and rocBlas.
Definition: tsgAcceleratedHandles.hpp:102
bool own
Save the own/not own state.
Definition: tsgAcceleratedHandles.hpp:108
HandleDeleter(bool init_own=true)
Constructor indicating the ownership of the handle.
Definition: tsgAcceleratedHandles.hpp:104
void operator()(int *p) const
Deletes the handle, if owned; nothing otherwise.
Definition: tsgAcceleratedHandles.hpp:106
Omnipresent enumerate types.