pub unsafe extern "C" fn hipMemMap(
ptr: *mut c_void,
size: usize,
offset: usize,
handle: hipMemGenericAllocationHandle_t,
flags: c_ulonglong,
) -> hipError_tExpand description
@brief Maps an allocation handle to a reserved virtual address range.
@param [in] ptr - address where the memory will be mapped. @param [in] size - size of the mapping. @param [in] offset - offset into the memory, currently must be zero. @param [in] handle - memory allocation to be mapped. @param [in] flags - currently unused, must be zero. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported @warning This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.
@note This API is implemented on Linux and is under development on Microsoft Windows.