Skip to content

Commit

Permalink
chore(compiler/backend-gpu): Enable gpu benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Dec 10, 2024
1 parent 2d45a57 commit f3d46be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compilers/concrete-compiler/compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ $(BENCHMARK_GPU_DIR):

$(BENCHMARK_GPU_DIR)/end_to_end_linalg_apply_lookup_table.yaml: tests/end_to_end_fixture/end_to_end_linalg_apply_lookup_table_gen.py
$(Python3_EXECUTABLE) $< \
--bitwidth 1 2 3 4 5 6 7 --n-ct 1 128 1024 2048 8192
--bitwidth 1 2 3 4 5 6 7 --n-ct 1 128 1024 2048 8192 > $@


generate-gpu-benchmarks: $(BENCHMARK_GPU_DIR) $(BENCHMARK_GPU_DIR)/end_to_end_linalg_apply_lookup_table.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def get_lut_integer_type(p):
raise Exception("Unexpected precision")

def generate(args):
print("# /!\ DO NOT EDIT MANUALLY THIS FILE MANUALLY")
print("# /!\ THIS FILE HAS BEEN GENERATED")
print("# /!\\ DO NOT EDIT MANUALLY THIS FILE MANUALLY")
print("# /!\\ THIS FILE HAS BEEN GENERATED")
np.random.seed(0)
for n_ct in args.n_ct:
for p in args.bitwidth:
Expand Down

0 comments on commit f3d46be

Please sign in to comment.