|
cuDDL
|
Go to the source code of this file.
Macros | |
| #define | CUDDL_CUDA_CALL(err) |
Checks a CUDA runtime call and throws std::runtime_error on failure. | |
| #define CUDDL_CUDA_CALL | ( | err | ) |
Checks a CUDA runtime call and throws std::runtime_error on failure.
Use in non-cuddl::Result functions (benchmarks, RAII helpers). Prefer CUDDL_CUDA_TRY inside functions that return cuddl::Result.
Definition at line 11 of file cuda_error.hpp.