pub unsafe extern "C" fn cuLinkComplete(
state: CUlinkState,
cubinOut: *mut *mut c_void,
sizeOut: *mut usize,
) -> CUresult
Expand description
\brief Complete a pending linker invocation
Completes the pending linker action and returns the cubin image for the linked device code, which can be used with ::cuModuleLoadData. The cubin is owned by \p state, so it should be loaded before \p state is destroyed via ::cuLinkDestroy. This call does not destroy \p state.
\param state A pending linker invocation \param cubinOut On success, this will point to the output image \param sizeOut Optional parameter to receive the size of the generated image
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_OUT_OF_MEMORY
\sa ::cuLinkCreate, ::cuLinkAddData, ::cuLinkAddFile, ::cuLinkDestroy, ::cuModuleLoadData