0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/platforms/rocm/merge_amdgpu_ids.zig
elogir 4ecdd92cb0
platforms/rocm: merge rocm and mesa amdgpu.ids (#441)
This PR introduces a script to merge `amdgpu.ids` from two sources: Mesa
and ROCm.

Both provide GPU ID-to-name mappings, but each may contain entries the
other lacks. For example, Mesa includes `AMD Radeon 8060S Graphics`
while ROCm does not, and ROCm lists newer GPUs absent from Mesa.

The script merges the two sources together, with ROCm entries taking
priority in case of conflicts.
2026-03-27 14:45:35 +01:00

73 lines
2.2 KiB