We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb54f2d commit 6f41a6fCopy full SHA for 6f41a6f
core/system/capabilities.go
@@ -30,13 +30,13 @@ func detectGPUVendor() (string, error) {
30
if gpu.DeviceInfo != nil {
31
if gpu.DeviceInfo.Vendor != nil {
32
gpuVendorName := strings.ToUpper(gpu.DeviceInfo.Vendor.Name)
33
- if gpuVendorName == "NVIDIA" {
+ if strings.Contains(gpuVendorName, "NVIDIA") {
34
return "nvidia", nil
35
}
36
- if gpuVendorName == "AMD" {
+ if strings.Contains(gpuVendorName, "AMD") {
37
return "amd", nil
38
39
- if gpuVendorName == "INTEL" {
+ if strings.Contains(gpuVendorName, "INTEL") {
40
return "intel", nil
41
42
0 commit comments