cubecl_hip_sys

Function hipMemAddressFree

Source
pub unsafe extern "C" fn hipMemAddressFree(
    devPtr: *mut c_void,
    size: usize,
) -> hipError_t
Expand description

@brief Frees an address range reservation made via hipMemAddressReserve

@param [in] devPtr - starting address of the range. @param [in] size - size of the range. @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.