Skip to main content

nvrtcCompileProgram

Function nvrtcCompileProgram 

Source
pub unsafe extern "C" fn nvrtcCompileProgram(
    prog: nvrtcProgram,
    numOptions: c_int,
    options: *const *const c_char,
) -> nvrtcResult
Expand 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.