Skip to main content

nvrtcGetErrorString

Function nvrtcGetErrorString 

Source
pub unsafe extern "C" fn nvrtcGetErrorString(
    result: nvrtcResult,
) -> *const c_char
Expand description

nvrtcGetErrorString is a helper function that returns a string describing the given nvrtcResult code, e.g., nvrtcResult::NVRTC_SUCCESS to "NVRTC_SUCCESS".

For unrecognized enumeration values, it returns "NVRTC_ERROR unknown".

ยงParameters

  • result: CUDA Runtime Compilation API result code.