Unverified Commit f29b167e authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

Use cuda v11 for driver 525 and older (#6620)

It looks like driver 525 (aka, cuda driver 12.0) has problems with the cuda v12 library
we compile against, so run v11 on those older drivers if detected.
parent 037a4d10
...@@ -57,7 +57,7 @@ func cudaVariant(gpuInfo CudaGPUInfo) string { ...@@ -57,7 +57,7 @@ func cudaVariant(gpuInfo CudaGPUInfo) string {
} }
} }
if gpuInfo.computeMajor < 6 || gpuInfo.DriverMajor < 12 { if gpuInfo.computeMajor < 6 || gpuInfo.DriverMajor < 12 || (gpuInfo.DriverMajor == 12 && gpuInfo.DriverMinor == 0) {
return "v11" return "v11"
} }
return "v12" return "v12"
......
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