Function rcudnn_sys::cudaHostGetFlags[][src]

pub unsafe extern "C" fn cudaHostGetFlags(
    pFlags: *mut c_uint,
    pHost: *mut c_void
) -> cudaError_t
Expand description

\brief Passes back flags used to allocate pinned host memory allocated by cudaHostAlloc

::cudaHostGetFlags() will fail if the input pointer does not reside in an address range allocated by ::cudaHostAlloc().

\param pFlags - Returned flags word \param pHost - Host pointer

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

\sa ::cudaHostAlloc, ::cuMemHostGetFlags