Browse Source

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

scratch
Fabian Preiß 2 years ago
committed by GitHub
parent
commit
3bc8b9832b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gpu/gpu_test.go

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

Loading…
Cancel
Save