cubecl_hip_sys

Function hipDeviceSetGraphMemAttribute

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

@brief Set the mem attribute for graphs.

@param [in] device - device the attr is set for. @param [in] attr - attr to set. @param [in] 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.