Skip to main content

nvrtcGetProgramLogSize

Function nvrtcGetProgramLogSize 

Source
pub unsafe extern "C" fn nvrtcGetProgramLogSize(
    prog: nvrtcProgram,
    logSizeRet: *mut size_t,
) -> nvrtcResult
Expand description

nvrtcGetProgramLogSize sets logSizeRet with the size of the log generated by the previous compilation of prog (including the trailing NULL).

Note that compilation log may be generated with warnings and informative messages, even when the compilation of prog succeeds.

ยงParameters

  • prog: CUDA Runtime Compilation program.
  • logSizeRet: Size of the compilation log (including the trailing NULL ).