Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
void 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
41
void CheckLog(cudaError_t err)
42
{
Callers
15
__OPNAME__
Method · 0.50
operator()
Method · 0.50
doComputeSizeInBytes
Method · 0.50
doComputeSizeInBytes
Method · 0.50
setCacheLimit
Method · 0.50
Export
Method · 0.50
event
Method · 0.50
submitSync
Method · 0.50
doComputeSizeInBytes
Method · 0.50
pushBackMany
Method · 0.50
Stream
Method · 0.50
Stream.cpp
File · 0.50
Calls
1
ToString
Function · 0.70
Tested by
1
CreateImage
Function · 0.40