Function ripple::gpu::debug::check_cuda_error¶
Defined in File portability.hpp
Function Documentation¶
-
auto
ripple::gpu::debug::check_cuda_error(GpuError err_code, const char *file, int line) -> void¶ Checks if a cuda error code was a success, and if not, prints the error message.
- Parameters
err_code: The cuda error code.file: The file where the error was detected.line: The line in the file where the error was detected.