Support functions for using CuBLAS. More...
Classes | |
struct | syten::Cuda::HandleBox |
RAII wrapper around a handle, putting it out of use on destruction. More... | |
Namespaces | |
namespace | syten |
Syten namespace. | |
namespace | syten::Cuda |
Support functions (memory allocation etc.) for CUDA-based GPUs. | |
Functions | |
HandleBox | syten::Cuda::get_handle (CudaStream const &str) |
Returns a cublas handle associated to the device device and switches the current CUDA device to this device. More... | |
cublasStatus_t | syten::Cuda::handle_error (cublasStatus_t err) |
Checks the error code and asserts if it is not CUBLAS_STATUS_SUCCESS. More... | |
void | syten::Cuda::initialise_handles () |
Initialises the cublas handles for the currently allowed devices. More... | |
Support functions for using CuBLAS.