pub unsafe extern "C" fn cuDestroyExternalMemory(
extMem: CUexternalMemory,
) -> CUresult
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 ::cuMemFree and ::cuMipmappedArrayDestroy respectively.
\param extMem - External memory object to be destroyed
\return ::CUDA_SUCCESS, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_HANDLE \notefnerr
\sa ::cuImportExternalMemory, ::cuExternalMemoryGetMappedBuffer, ::cuExternalMemoryGetMappedMipmappedArray