From e4422e299c10c7e84c8e987770ef40d31905a76b Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 23 Apr 2023 18:15:39 +0300 Subject: ggml : better PERF prints + support "LLAMA_PERF=1 make" --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b297959..0c7b654 100644 --- a/Makefile +++ b/Makefile @@ -117,6 +117,10 @@ ifdef LLAMA_GPROF CFLAGS += -pg CXXFLAGS += -pg endif +ifdef LLAMA_PERF + CFLAGS += -DGGML_PERF + CXXFLAGS += -DGGML_PERF +endif ifneq ($(filter aarch64%,$(UNAME_M)),) CFLAGS += -mcpu=native CXXFLAGS += -mcpu=native -- cgit v1.2.3