pub unsafe extern "C" fn cuMemGetAccess(
flags: *mut c_ulonglong,
location: *const CUmemLocation,
ptr: CUdeviceptr,
) -> CUresult
Expand description
\brief Get the access \p flags set for the given \p location and \p ptr
\param[out] flags - Flags set for this location \param[in] location - Location in which to check the flags for \param[in] ptr - Address in which to check the access flags for \returns ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_DEVICE, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_PERMITTED, ::CUDA_ERROR_NOT_SUPPORTED
\sa ::cuMemSetAccess