| 30 | { |
| 31 | |
| 32 | inline void cudaCheck(cudaError_t ret, std::ostream& err = std::cerr) |
| 33 | { |
| 34 | if (ret != cudaSuccess) |
| 35 | { |
| 36 | err << "Cuda failure: " << cudaGetErrorString(ret) << std::endl; |
| 37 | abort(); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | class TrtCudaEvent; |
| 42 |
no outgoing calls
no test coverage detected