diff --git a/gpu/target/targetgpu.go b/gpu/target/targetgpu.go index d171a7d6..2213b120 100644 --- a/gpu/target/targetgpu.go +++ b/gpu/target/targetgpu.go @@ -33,7 +33,7 @@ func (pt PrimeType) String() string { func GetPrimeType(s string) PrimeType { if s == "" { - s = "none" + s = PrimeNone.String() } switch s {