| 74 | template <class T, |
| 75 | typename std::enable_if<std::is_integral<T>::value, std::nullptr_t>::type = nullptr> |
| 76 | std::string cuFileGetErrorString(T status) |
| 77 | { |
| 78 | status = std::abs(status); |
| 79 | return IS_CUFILE_ERR(status) ? std::string(CUFILE_ERRSTR(status)) |
| 80 | : std::string(std::strerror(status)); |
| 81 | } |
| 82 | |
| 83 | // CUfileError_t |
| 84 | template <class T, |
no test coverage detected