pub unsafe extern "C" fn nvrtcGetErrorString(
result: nvrtcResult,
) -> *const c_charExpand 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.
§Return value
Message string for the given #nvrtcResult code.