pub unsafe extern "C" fn nvrtcCompileProgram(
prog: nvrtcProgram,
numOptions: c_int,
options: *const *const c_char,
) -> nvrtcResultExpand description
nvrtcCompileProgram compiles the given program.
It supports compile options listed in Supported Compile Options.
§Parameters
prog: CUDA Runtime Compilation program.numOptions: Number of compiler options passed.options: Compiler options in the form of C string array. options can be NULL when numOptions is 0.
§Return value
nvrtcResult::NVRTC_SUCCESSnvrtcResult::NVRTC_ERROR_OUT_OF_MEMORYnvrtcResult::NVRTC_ERROR_INVALID_INPUTnvrtcResult::NVRTC_ERROR_INVALID_PROGRAMnvrtcResult::NVRTC_ERROR_INVALID_OPTIONnvrtcResult::NVRTC_ERROR_COMPILATIONnvrtcResult::NVRTC_ERROR_BUILTIN_OPERATION_FAILUREnvrtcResult::NVRTC_ERROR_TIME_FILE_WRITE_FAILEDnvrtcResult::NVRTC_ERROR_CANCELLED