build : fix and ignore MSVC warnings (#1889)

This commit is contained in:
Borislav Stanimirov
2023-06-16 21:23:53 +03:00
committed by GitHub
parent 3d01122610
commit 9cbf50c041
16 changed files with 88 additions and 37 deletions

View File

@@ -13,6 +13,10 @@
#include <string>
#include <vector>
#if defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data
#endif
#define MAX_ALIGNMENT 64
#define QK 32
#define WARMUP 5