2 Commits

Author SHA1 Message Date
Joseph Huber
55fad5e980 [amdgpu-arch] Fix unused StringRef result 2024-11-19 06:37:41 -06:00
Joseph Huber
129a1a27da
[amdgpu-arch] Replace use of HSA with reading sysfs directly (#116651)
Summary:
For Linux systems, we currently use the HSA library to determine the
installed GPUs. However, this isn't really necessary and adds a
dependency on the HSA runtime as well as a lot of overhead. Instead,
this patch uses the `sysfs` interface exposed by `amdkfd` to do this
directly.
2024-11-19 05:35:01 -06:00