Browse Source

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

Fabian Preiß 1 năm trước cách đây
mục cha
commit
3bc8b9832b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 	}