hwloc provides interoperability with a bunch of GPU/heterogeneous system APIs. The amount of support code needed for each is small, but each will need to get a dedicated feature and suitable cfg+doc(cfg)+cfg(doc) annotations.
Also, testing is going to be problematic since CI nodes don't have GPUs and I don't even have local setups for some of these APIs.
hwloc provides interoperability with a bunch of GPU/heterogeneous system APIs. The amount of support code needed for each is small, but each will need to get a dedicated feature and suitable cfg+doc(cfg)+cfg(doc) annotations.
Also, testing is going to be problematic since CI nodes don't have GPUs and I don't even have local setups for some of these APIs.