MCPcopy Create free account
hub / github.com/NVIDIA/cccl / check

Function check

c/parallel/src/util/errors.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <stdexcept>
14
15void check(nvrtcResult result)
16{
17 if (result != NVRTC_SUCCESS)
18 {
19 throw std::runtime_error(std::string("NVRTC error: ") + nvrtcGetErrorString(result));
20 }
21}
22
23void check(CUresult result)
24{

Callers 13

try_push_contextFunction · 0.70
cccl_type_enum_to_nameFunction · 0.70
get_specializationFunction · 0.50
get_nameMethod · 0.50
get_program_ptxMethod · 0.50
link_programMethod · 0.50
get_ltoirMethod · 0.50
add_expressionMethod · 0.50
compile_programMethod · 0.50
add_programMethod · 0.50
add_linkMethod · 0.50
add_link_listMethod · 0.50

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected