Refactor intel gpu discovery

This commit is contained in:
Daniel Hiltgen
2024-05-29 16:37:34 -07:00
parent 48702dd149
commit 4e2b7e181d
4 changed files with 304 additions and 169 deletions

View File

@@ -57,7 +57,8 @@ type RocmGPUInfoList []RocmGPUInfo
type OneapiGPUInfo struct {
GpuInfo
index int // device index
driverIndex int // nolint: unused
gpuIndex int // nolint: unused
}
type OneapiGPUInfoList []OneapiGPUInfo