Skip to content

Commit 426b476

Browse files
committed
fix last commit, add missing files; git ignore mulmat-tune.txt
1 parent ec18316 commit 426b476

File tree

8 files changed

+712
-13
lines changed

8 files changed

+712
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ qnt-*.txt
4949
perf-*.txt
5050

5151
examples/jeopardy/results.txt
52+
mulmat-tune.txt

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ OBJS += ggml-tune.o
228228
# Build library
229229
#
230230

231-
ggml.o: ggml.c ggml.h ggml-cuda.h
231+
ggml.o: ggml.c ggml.h ggml-cuda.h ggml-tune.h
232232
$(CC) $(CFLAGS) -c $< -o $@
233233

234234
llama.o: llama.cpp ggml.h ggml-cuda.h llama.h llama-util.h
@@ -290,7 +290,7 @@ benchmark-matmult: examples/benchmark/benchmark-matmult.cpp build-info.h ggml.o
290290
vdot: pocs/vdot/vdot.cpp ggml.o $(OBJS)
291291
$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)
292292

293-
ggml-tune.o: ggml-tune.c ggml-tune.h
293+
ggml-tune.o: ggml-tune.c ggml.h ggml-tune.h
294294
$(CC) $(CFLAGS) -c $< -o $@
295295

296296
mulmat-tune: examples/mulmat-tune/mulmat-tune.c ggml.o $(OBJS)

examples/mulmat-tune/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ In conclusion, let me list the key point how does it work.
116116
estimate total computing time for any M (even if out of bench range), thus
117117
could select the fastest profile.
118118
5. On llama start, it loads the bench data from file (if exists). Before computing
119-
node, we select the fastest profile. When compute, both `dst->task_conf` and
119+
node, we select the fastest profile. When compute, both `dst->task_conf` and
120120
`params` control which part of the codes to run.
121121

122122

examples/mulmat-tune/mulmat-tune.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
1-
#include "ggml-tune.h"
21
#include "ggml.h"
32

4-
// #if defined GGML_USE_CLBLAST
5-
// #include "ggml-cuda.h"
6-
// #endif
7-
8-
// #if defined GGML_USE_CLBLAST
9-
// #include "ggml-opencl.h"
10-
// #endif
11-
123
#include <inttypes.h>
134
#include <stdio.h>
145
#include <stdlib.h>

0 commit comments

Comments
 (0)