pub unsafe extern "C" fn hipMemMap(
ptr: *mut c_void,
size: usize,
offset: usize,
handle: *mut ihipMemGenericAllocationHandle,
flags: u64
) -> 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, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.