Commit 5bca2e60 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Harden intel boostrap for nil pointers

parent e9aa5117
......@@ -305,6 +305,8 @@ func GetGPUInfo() GpuInfoList {
// Intel
if envconfig.IntelGPU() {
oHandles = initOneAPIHandles()
if oHandles != nil && oHandles.oneapi != nil {
// On windows we bundle the oneapi library one level above the runner dir
depPath = ""
if runtime.GOOS == "windows" && envconfig.RunnersDir() != "" {
......@@ -340,6 +342,7 @@ func GetGPUInfo() GpuInfoList {
}
}
}
}
rocmGPUs = AMDGetGPUInfo()
bootstrapped = true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment