Function nvvm::sys::nvvmGetProgramLogSize [−][src]
pub unsafe extern "C" fn nvvmGetProgramLogSize(
prog: nvvmProgram,
bufferSizeRet: *mut size_t
) -> nvvmResult
Expand description
\ingroup compilation \brief Get the Size of Compiler/Verifier Message.
The size of the message string (including the trailing NULL) is stored into ‘buffer_size_ret’ when the return value is NVVM_SUCCESS.
\param [in] prog NVVM program. \param [out] bufferSizeRet Size of the compilation/verification log (including the trailing NULL). \return
- \link ::nvvmResult NVVM_SUCCESS \endlink
- \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink