pub unsafe extern "C" fn hipMemAddressReserve(
    ptr: *mut *mut c_void,
    size: usize,
    alignment: usize,
    addr: *mut c_void,
    flags: u64
) -> hipError_t
Expand description

@brief Reserves an address range

@param [out] ptr - starting address of the reserved range. @param [in] size - size of the reservation. @param [in] alignment - alignment of the address. @param [in] addr - requested starting address of the range. @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.