47 std::terminate_handler m_terminate_handler;
74template <
class F,
class...
Args>
char const * what() const noexcept
auto get_terminate() noexcept
void terminate() noexcept
auto set_terminate(std::terminate_handler callback) noexcept
Wrapper for CUDA runtime exceptions.
cuda_runtime_error(std::string const &msg)
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
void invoke_skip_cuda_exceptions(F &&f, Args &&...args)
Invoke a function and silently ignore any thrown cuda_runtime_error error.