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