Skip to content

Commit bc03c6b

Browse files
committed
Change TypedRacket's Makefile to a symlink
Since, to the best of my knowledge, the Makefiles for Racket and TypedRacket should actually be identical (the differences between the two flavours being confined to the source code files), I have swapped out the old TypedRacket Makefile for a soft symlink to Racket's Makefile. This should ensure that the two always stay in sync with each other automatically, since, after all, one is just a reference to the real file. Also, this commit corrects a problem with the current benchmarking for linalg and whispers, in that the file names for the output files weren't being adjusted based on the style in use, which had the effect of causing the last style used to overwrite the earlier styles. This wasn't currently an issue for Whispers, since it only 'ring' enabled right now, but it meant that only results for 'mixed' were recorded for linalg.
1 parent a57cf05 commit bc03c6b

File tree

2 files changed

+5
-258
lines changed

2 files changed

+5
-258
lines changed

Racket/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,15 @@ bench_linalg:
161161
make bench_linalg1
162162
make bench_linalg2
163163

164+
bench_linalg1 : benches_record_name = $(benches_dir)/$@\_$$j\_$$i
164165
bench_linalg1 : iter_command = $(hypw3) --parameter-list vecs_size "$(call spaces-to-commas,$(VECTORS))" "$< $$j $$i {vecs_size}"
165166
bench_linalg1 : VECTORS = 2 3 4 8 16 32
166167
bench_linalg1: $(exes_dir)/linalg | $(benches_dir)
167168
for j in $(LINALG_OPTS); do\
168169
$(for_iters);\
169170
done
170171

172+
bench_linalg2 : benches_record_name = $(benches_dir)/$@\_$$j\_$$i
171173
bench_linalg2 : iter_command = $(hypw3) --parameter-list vecs_size "$(call spaces-to-commas,$(VECTORS))" "$< $$j $$i {vecs_size}"
172174
bench_linalg2 : VECTORS = 128
173175
bench_linalg2 : ITERATIONS = 1 64
@@ -210,13 +212,15 @@ bench_whispers: $(exes_dir)/whispers | $(benches_dir)
210212
make bench_whispers1
211213
make bench_whispers2
212214

215+
bench_whispers1 : benches_record_name = $(benches_dir)/$@\_$$j\_$$i
213216
bench_whispers1 : THREADS = 2 16 128 1024
214217
bench_whispers1 : iter_command = $(hypw3) --parameter-list num_threads "$(call spaces-to-commas,$(THREADS))" "$< $$j $$i {num_threads}"
215218
bench_whispers1: $(exes_dir)/whispers | $(benches_dir)
216219
for j in $(WHISPERS_OPTS); do\
217220
$(for_iters); \
218221
done
219222

223+
bench_whispers2 : benches_record_name = $(benches_dir)/$@\_$$j\_$$i
220224
bench_whispers2 : THREADS = 8192
221225
bench_whispers2 : ITERATIONS = 1 64
222226
bench_whispers2 : iter_command = $(hypw3) --parameter-list num_threads "$(call spaces-to-commas,$(THREADS))" "$< $$j $$i {num_threads}"

TypedRacket/Makefile

Lines changed: 0 additions & 258 deletions
This file was deleted.

TypedRacket/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Racket/Makefile

0 commit comments

Comments
 (0)