15 lines
231 B
Go
15 lines
231 B
Go
//go:build !windows
|
|
|
|
package gpu
|
|
|
|
type gpuName struct {
|
|
Name string
|
|
Vendor string
|
|
}
|
|
|
|
func detectGPUNames() []gpuName {
|
|
return []gpuName{{Name: "Default GPU", Vendor: "unknown"}}
|
|
}
|
|
|
|
func detectCPUName() string { return "CPU" }
|