cubecl_hip_sys

Function hipMemGetAllocationPropertiesFromHandle

Source
pub unsafe extern "C" fn hipMemGetAllocationPropertiesFromHandle(
    prop: *mut hipMemAllocationProp,
    handle: hipMemGenericAllocationHandle_t,
) -> hipError_t
Expand description

@brief Retrieve the property structure of the given handle.

@param [out] prop - properties of the given handle. @param [in] handle - handle to perform the query on. @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.