Function kn_cuda_sys::bindings::nvrtcGetProgramLogSize
source · pub unsafe extern "C" fn nvrtcGetProgramLogSize(
prog: nvrtcProgram,
logSizeRet: *mut usize
) -> nvrtcResultExpand description
\ingroup compilation \brief nvrtcGetProgramLogSize sets \p logSizeRet with the size of the log generated by the previous compilation of \p prog (including the trailing \c NULL).
Note that compilation log may be generated with warnings and informative messages, even when the compilation of \p prog succeeds.
\param [in] prog CUDA Runtime Compilation program. \param [out] logSizeRet Size of the compilation log (including the trailing \c NULL). \return
- \link #nvrtcResult NVRTC_SUCCESS \endlink
- \link #nvrtcResult NVRTC_ERROR_INVALID_INPUT \endlink
- \link #nvrtcResult NVRTC_ERROR_INVALID_PROGRAM \endlink
\see ::nvrtcGetProgramLog