Function flamegpu::detail::gpuLaunchAssert
Defined in File CUDAErrorChecking.cuh
Function Documentation
-
inline void flamegpu::detail::gpuLaunchAssert(const char *file, int line)
Error check function for checking for the most recent error
Note
Only synchronises in debug builds
- Parameters:
file – File where errorcode was reported (e.g. FILE)
line – Line no where errorcode was reported (e.g. LINE)
- Throws:
CUDAError – If code != cudaSuccess