diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-04-29 18:43:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 18:43:28 +0300 |
commit | 214b6a35702a489e3738acd81fad6d46182d3036 (patch) | |
tree | dac39b6d4bb7eaf958735a0dfb5ccabcbbb0821c /Makefile | |
parent | 305eb5afd51325e3142c01c17431febb7c67de87 (diff) |
ggml : adjust mul_mat_f16 work memory (#1226)
* llama : minor - remove explicity int64_t cast
* ggml : reduce memory buffer for F16 mul_mat when not using cuBLAS
* ggml : add asserts to guard for incorrect wsize
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -34,10 +34,15 @@ endif # # keep standard at C11 and C++11 -CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC -CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC +CFLAGS = -I. -O3 -std=c11 -fPIC +CXXFLAGS = -I. -I./examples -O3 -std=c++11 -fPIC LDFLAGS = +ifndef LLAMA_DEBUG + CFLAGS += -DNDEBUG + CXXFLAGS += -DNDEBUG +endif + # warnings CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar |