pub unsafe extern "C" fn hipMemGetAccess(
flags: *mut c_ulonglong,
location: *const hipMemLocation,
ptr: *mut c_void,
) -> hipError_t
Expand description
@brief Get the access flags set for the given location and ptr.
@param [out] flags - flags for this location. @param [in] location - target location. @param [in] ptr - address to check the access flags. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.
@note This API is implemented on Linux, under development on Windows.