aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-30 12:32:37 +0000
committerGitHub <noreply@github.com>2023-04-30 12:32:37 +0000
commitf0d70f147d969e41fa410b8af2965a27aa901eb9 (patch)
tree1b4bbcbb44f57acad45aa6d4bb2cb4997f602407 /Makefile
parent3e5aa8a1c44051153d6d7b3eeca2f4b4e5fb310c (diff)
Various fixes to mat_mul benchmark (#1253)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4516e85..6d89401 100644
--- a/Makefile
+++ b/Makefile
@@ -180,7 +180,7 @@ common.o: examples/common.cpp examples/common.h
$(CXX) $(CXXFLAGS) -c $< -o $@
clean:
- rm -vf *.o main quantize quantize-stats perplexity embedding benchmark-q4_0-matmult
+ rm -vf *.o main quantize quantize-stats perplexity embedding benchmark-matmult
main: examples/main/main.cpp ggml.o llama.o common.o $(OBJS)
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
@@ -210,9 +210,9 @@ libllama.so: llama.o ggml.o $(OBJS)
# Tests
#
-benchmark: examples/benchmark/benchmark-q4_0-matmult.c ggml.o $(OBJS)
- $(CXX) $(CXXFLAGS) $^ -o benchmark-q4_0-matmult $(LDFLAGS)
- ./benchmark-q4_0-matmult
+benchmark-matmult: examples/benchmark/benchmark-matmult.cpp ggml.o $(OBJS)
+ $(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
+ ./$@
.PHONY: tests
tests: