diff options
author | Stephan Walter <stephan@walter.name> | 2023-04-30 12:32:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 12:32:37 +0000 |
commit | f0d70f147d969e41fa410b8af2965a27aa901eb9 (patch) | |
tree | 1b4bbcbb44f57acad45aa6d4bb2cb4997f602407 /Makefile | |
parent | 3e5aa8a1c44051153d6d7b3eeca2f4b4e5fb310c (diff) |
Various fixes to mat_mul benchmark (#1253)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |