MCPcopy Create free account
hub / github.com/NVIDIA/DALI / is_drv_api

Method is_drv_api

include/dali/core/cuda_error.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 cudaError_t rt_error() const noexcept { return rt_err; }
36
37 bool is_drv_api() const noexcept { return drv_err != CUDA_SUCCESS; }
38 bool is_rt_api() const noexcept { return rt_err != cudaSuccess; }
39
40 bool is_unloading() const noexcept {

Callers 4

HandleErrorFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
CopyAsTensorGpuTestFunction · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64
TESTFunction · 0.64
CopyAsTensorGpuTestFunction · 0.64