mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-19 22:36:13 -04:00
build : fix and ignore MSVC warnings (#1889)
This commit is contained in:
committed by
GitHub
parent
3d01122610
commit
9cbf50c041
@@ -10,6 +10,10 @@
|
||||
|
||||
#include <ggml.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4244 4267) // possible loss of data
|
||||
#endif
|
||||
|
||||
constexpr int kVecSize = 1 << 18;
|
||||
|
||||
float drawFromGaussianPdf(std::mt19937& rndm) {
|
||||
|
Reference in New Issue
Block a user