Explorar o código

fix gpu_test.go Error (same type) uint64->uint32 (#1921)

Fabian Preiß hai 1 ano
pai
achega
3bc8b9832b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gpu/gpu_test.go

+ 1 - 1
gpu/gpu_test.go

@@ -18,7 +18,7 @@ func TestBasicGetGPUInfo(t *testing.T) {
 	case "linux", "windows":
 		assert.Greater(t, info.TotalMemory, uint64(0))
 		assert.Greater(t, info.FreeMemory, uint64(0))
-		assert.Greater(t, info.DeviceCount, uint64(0))
+		assert.Greater(t, info.DeviceCount, uint32(0))
 	default:
 		return
 	}