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

Function CheckLog

python/common/CheckError.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void CheckLog(cudaError_t err)
42{
43 if (err != cudaSuccess)
44 {
45 cudaGetLastError(); // consume the error
46 std::cerr << ToString(err) << std::endl;
47 }
48}
49
50} // namespace nvcvpy::util

Callers 1

destroyMethod · 0.85

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected