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

This commit is contained in:
Fabian Preiß 2024-01-11 14:22:23 +01:00 committed by GitHub
parent ab6be852c7
commit 3bc8b9832b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}