MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / evalErrorNoThrow

Method evalErrorNoThrow

extensions/include/cuMat/src/Errors.h:103–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 return true;
102 }
103 static bool evalErrorNoThrow(cudaError err, const char* file, const int line)
104 {
105 if (cudaSuccess != err) {
106 std::string msg = format("cudaSafeCall() failed at %s:%i : %s\n",
107 file, line, cudaGetErrorString(err));
108 CUMAT_LOG_SEVERE(msg);
109 return false;
110 }
111 return true;
112 }
113 public:
114 static void cudaSafeCall(cudaError err, const char *file, const int line)
115 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected