fix gpu_test.go Error (same type) uint64->uint32 (#1921)
This commit is contained in:
parent
ab6be852c7
commit
3bc8b9832b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func TestBasicGetGPUInfo(t *testing.T) {
|
||||||
case "linux", "windows":
|
case "linux", "windows":
|
||||||
assert.Greater(t, info.TotalMemory, uint64(0))
|
assert.Greater(t, info.TotalMemory, uint64(0))
|
||||||
assert.Greater(t, info.FreeMemory, uint64(0))
|
assert.Greater(t, info.FreeMemory, uint64(0))
|
||||||
assert.Greater(t, info.DeviceCount, uint64(0))
|
assert.Greater(t, info.DeviceCount, uint32(0))
|
||||||
default:
|
default:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue