Skip to content

Commit

Permalink
fix bug: traces have new names (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin authored Sep 30, 2024
1 parent 4b00999 commit ecb4e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ MLIROPTFLAGS += --reconcile-unrealized-casts
$(DASM) < $< | $(GENTRACE) --permissive -d $*.trace.json > $*.trace.txt

define get_trace_targets
$(addsuffix .trace.txt, $(basename $(shell find $(1) -name 'trace_hart_*.dasm')))
$(addsuffix .trace.txt, $(basename $(shell find $(1) -name 'trace_chip_00_hart_*.dasm')))
endef

traces: $(call get_trace_targets,.)
Expand Down
4 changes: 2 additions & 2 deletions util/snax_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@


class SNAXBenchmark:
input_file = "trace_hart_{hart}.trace.json"
trace_file = "trace_hart_{hart}.dasm"
input_file = "trace_chip_00_hart_{hart}.trace.json"
trace_file = "trace_chip_00_hart_{hart}.dasm"

def __init__(
self,
Expand Down

0 comments on commit ecb4e57

Please sign in to comment.