Ir.Hip_limitsPure HIP device-class classification and cost-model advisory rate selection, extracted from Hip_backend so that multi-device combinations (including mixed integrated+discrete hosts not present in the hardware fleet) can be pinned without the hipjit toolkit or hardware (test/operations/hip_ranking_rates, gh-ocannl-2532).
val sexp_of_device_summary : device_summary -> Sexplib0.Sexp.tval equal_device_summary : device_summary -> device_summary -> boolWhether a single HIP device is an RDNA3/RDNA3.5+ (gfx11/gfx12) wave32 part. Shared with Hip_backend's tile_mma_eligible and all_rdna_wave32 gates.
val all_rdna_wave32 : device_summary array -> boolWhether the host has at least one device and every device satisfies is_rdna_wave32.
type ranking_rates = {cache_capacity : int option;cache_rate : float option;scalar_rate : float option;dram_rate : float option;saturation_threads : int option;sector_rate : float option;workgroup_capacity : int option;copy_rate : float option;idle_rate : float option;lane_width : int option;sync_rate : float option;}The device-class and RDNA-wave32 ranking-rate fields Hip_backend populates on Backend_intf.hardware_limits, named after Backend_intf.untimed_limits.
val sexp_of_ranking_rates : ranking_rates -> Sexplib0.Sexp.tval equal_ranking_rates : ranking_rates -> ranking_rates -> boolval ranking_rates : wave:int -> device_summary array -> ranking_ratesAdvisory cost-model ranking rates for a HIP host's device set at wavefront width wave. Pure unified (all integrated) and pure discrete (all non-integrated) RDNA wave32 hosts receive their calibrated rates; mixed integrated+discrete hosts take the discrete base class (cache_capacity, cache_rate, scalar_rate, dram_rate, saturation_threads) and physical workgroup_capacity, while leaving sector_rate, copy_rate, idle_rate, shared_rate, and lane_width unset so an integrated GPU is never moved by discrete staging or register-reuse rates.