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

Function CheckThrow

python/common/CheckError.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void CheckThrow(cudaError_t err)
33{
34 if (err != cudaSuccess)
35 {
36 cudaGetLastError(); // consume the error
37 throw std::runtime_error(ToString(err));
38 }
39}
40
41void CheckLog(cudaError_t err)
42{

Callers 15

__OPNAME__Method · 0.50
operator()Method · 0.50
doComputeSizeInBytesMethod · 0.50
doComputeSizeInBytesMethod · 0.50
setCacheLimitMethod · 0.50
ExportMethod · 0.50
eventMethod · 0.50
submitSyncMethod · 0.50
doComputeSizeInBytesMethod · 0.50
pushBackManyMethod · 0.50
StreamMethod · 0.50
Stream.cppFile · 0.50

Calls 1

ToStringFunction · 0.70

Tested by 1

CreateImageFunction · 0.40