lp getCPUDevices return
This commit is contained in:
1 parent
e4f09bc1a4
commit
8d7c6359f8
1 file changed
+1
@@ -18,4 +18,5 @@ func getGPUDevices() float64 { // GPU boolean
|
||||
if len(gpus) > 1 || strings.Contains(all, "ati") || strings.Contains(all, "nvidia") {
|
||||
return float64(len(gpus))
|
||||
}
|
||||
return 0
|
||||
}
|
||||
Reference in new issue
Block a user