Function flamegpu::detail::gpuAssert(CUresult, const char *, int)
Defined in File CUDAErrorChecking.cuh
Function Documentation
-
inline void flamegpu::detail::gpuAssert(CUresult code, const char *file, int line)
Error check function for safe CUDA API calling
- Parameters:
code – CUDA Driver API return code
file – File where errorcode was reported (e.g. FILE)
line – Line no where errorcode was reported (e.g. LINE)
- Throws:
CUDAError – If code != CUDA_SUCCESS