Function flamegpu::detail::gpuAssert(cudaError_t, const char *, int)

Function Documentation

inline void flamegpu::detail::gpuAssert(cudaError_t code, const char *file, int line)

Error check function for safe CUDA API calling

Parameters:
  • code – CUDA Runtime 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 != cudaSuccess