Browse Source

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

Fabian Preiß 1 year ago
parent
commit
3bc8b9832b
1 changed files with 1 additions and 1 deletions
  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
 	}