Function rcudnn_sys::cudaDestroyExternalMemory[][src]

pub unsafe extern "C" fn cudaDestroyExternalMemory(
    extMem: cudaExternalMemory_t
) -> cudaError_t
Expand description

\brief Destroys an external memory object.

Destroys the specified external memory object. Any existing buffers and CUDA mipmapped arrays mapped onto this object must no longer be used and must be explicitly freed using ::cudaFree and ::cudaFreeMipmappedArray respectively.

\param extMem - External memory object to be destroyed

\return ::cudaSuccess, ::cudaErrorInvalidResourceHandle \notefnerr \note_init_rt \note_callback \note_destroy_ub

\sa ::cudaImportExternalMemory, ::cudaExternalMemoryGetMappedBuffer, ::cudaExternalMemoryGetMappedMipmappedArray