ggml : fix warnings under MSVC (#1908)

This commit is contained in:
Howard Su 2023-06-17 23:46:15 +08:00 committed by GitHub
parent 0711a5f6dc
commit 3d59ec5935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,10 @@
#include "ggml.h"
#if defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data
#endif
#define CL_DMMV_BLOCK_SIZE 32
#define MULTILINE_QUOTE(...) #__VA_ARGS__