MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / ToString

Function ToString

python/common/CheckError.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

CheckThrowFunction · 0.70
CheckLogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected