lp getCPUDevices return
This commit is contained in:
parent
e4f09bc1a4
commit
8d7c6359f8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user