cubecl_hip_sys

Function hipMemRelease

Source
pub unsafe extern "C" fn hipMemRelease(
    handle: hipMemGenericAllocationHandle_t,
) -> hipError_t
Expand description

@brief Release a memory handle representing a memory allocation which was previously allocated through hipMemCreate.

@param [in] handle - handle of the memory allocation. @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.