grain.cuda.testing

Test functions for CUDA

Members

Functions

checkCublas
void checkCublas(cublasStatus_t err)

cublas error checker

checkCuda
void checkCuda(CUresult err)

cuda error checker

checkCudnn
void checkCudnn(cudnnStatus_t err)

cudnn error checker

checkNvrtc
void checkNvrtc(nvrtcResult err, const(char)[] info = "")

nvrtc error checker

cublasGetErrorEnum
auto cublasGetErrorEnum(cublasStatus_t error)

emit error message string from enum

Meta