소스 검색

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

Fabian Preiß 1 년 전
부모
커밋
3bc8b9832b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}