| 23 | namespace nvcvpy::util { |
| 24 | |
| 25 | static std::string ToString(cudaError_t err) |
| 26 | { |
| 27 | std::ostringstream ss; |
| 28 | ss << cudaGetErrorName(err) << ": " << cudaGetErrorString(err); |
| 29 | return ss.str(); |
| 30 | } |
| 31 | |
| 32 | void CheckThrow(cudaError_t err) |
| 33 | { |
no outgoing calls
no test coverage detected