HiRep 0.1
|
Error checking on the GPU. More...
Functions | |
void | __cudaSafeCall (cudaError_t err, const char *func, const char *file, const int line) |
Check CUDA call and log error message on failure. | |
void | __cudaCheckError (const char *func, const char *file, int line) |
Check last error. | |
Error checking on the GPU.
void __cudaCheckError | ( | const char * | func, |
const char * | file, | ||
int | line ) |
Check last error.
file | File where the last error was raised |
line | Line where the last error was raised |
void __cudaSafeCall | ( | cudaError_t | err, |
const char * | func, | ||
const char * | file, | ||
const int | line ) |
Check CUDA call and log error message on failure.
cudaError_t | Error return type from CUDA call |
file | File where the exception was raised |
line | Line where the exception was raised |