• Daniel Hiltgen's avatar
    Fix iGPU detection for linux · 82b0c7c2
    Daniel Hiltgen authored
    This fixes a few bugs in the new sysfs discovery logic.  iGPUs are now
    correctly identified by their <1G VRAM reported.  the sysfs IDs are off
    by one compared to what HIP wants due to the CPU being reported
    in amdgpu, but HIP only cares about GPUs.
    82b0c7c2
amd_linux.go 13.1 KB