pub unsafe extern "C" fn hipMemSetAccess(
ptr: *mut c_void,
size: usize,
desc: *const hipMemAccessDesc,
count: usize,
) -> hipError_t
Expand description
@brief Set the access flags for each location specified in desc for the given virtual address range.
@param [in] ptr - starting address of the virtual address range. @param [in] size - size of the range. @param [in] desc - array of hipMemAccessDesc. @param [in] count - number of hipMemAccessDesc in desc. @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.