Function rcudnn_sys::cudaHostUnregister[][src]

pub unsafe extern "C" fn cudaHostUnregister(
    ptr: *mut c_void
) -> cudaError_t
Expand description

\brief Unregisters a memory range that was registered with cudaHostRegister

Unmaps the memory range whose base address is specified by \p ptr, and makes it pageable again.

The base address must be the same one specified to ::cudaHostRegister().

\param ptr - Host pointer to memory to unregister

\return ::cudaSuccess, ::cudaErrorInvalidValue, ::cudaErrorHostMemoryNotRegistered \notefnerr \note_init_rt \note_callback

\sa ::cudaHostUnregister, ::cuMemHostUnregister