pub unsafe extern "C" fn nvrtcCreateProgram(
prog: *mut nvrtcProgram,
src: *const c_char,
name: *const c_char,
numHeaders: c_int,
headers: *const *const c_char,
includeNames: *const *const c_char,
) -> nvrtcResultExpand description
nvrtcCreateProgram creates an instance of nvrtcProgram with the given input parameters, and sets the output parameter prog with it.
§Parameters
prog: CUDA Runtime Compilation program.src: CUDA program source.name: CUDA program name. name can be NULL ; “default_program” is used when name is NULL or “”.numHeaders: Number of headers used. numHeaders must be greater than or equal to 0.headers: Sources of the headers. headers can be NULL when numHeaders is 0.includeNames: Name of each header by which they can be included in the CUDA program source. includeNames can be NULL when numHeaders is 0. These headers must be included with the exact names specified here.