cubecl_hip_sys

Function hipDeviceGetGraphMemAttribute

Source
pub unsafe extern "C" fn hipDeviceGetGraphMemAttribute(
    device: c_int,
    attr: hipGraphMemAttributeType,
    value: *mut c_void,
) -> hipError_t
Expand description

@brief Get the mem attribute for graphs.

@param [in] device - device the attr is get for. @param [in] attr - attr to get. @param [out] value - value for specific attr. @returns #hipSuccess, #hipErrorInvalidDevice @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.