From 9cbf50c041a525d781c7764f493a5443924e4e38 Mon Sep 17 00:00:00 2001 From: Borislav Stanimirov Date: Fri, 16 Jun 2023 21:23:53 +0300 Subject: build : fix and ignore MSVC warnings (#1889) --- tests/test-quantize-perf.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test-quantize-perf.cpp') diff --git a/tests/test-quantize-perf.cpp b/tests/test-quantize-perf.cpp index d5514455..60037577 100644 --- a/tests/test-quantize-perf.cpp +++ b/tests/test-quantize-perf.cpp @@ -13,6 +13,10 @@ #include #include +#if defined(_MSC_VER) +#pragma warning(disable: 4244 4267) // possible loss of data +#endif + #define MAX_ALIGNMENT 64 #define QK 32 #define WARMUP 5 -- cgit v1.2.3