Skip to content

Commit

Permalink
Merge pull request #1138 from devitocodes/patch-benchmark-2
Browse files Browse the repository at this point in the history
bench: Fix run-jit-backdoor mode
  • Loading branch information
FabioLuporini authored Feb 25, 2020
2 parents d5c1d46 + a3b3fcd commit c32993d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/user/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def run_jit_backdoor(problem, **kwargs):
solver = setup(space_order=space_order, time_order=time_order, **kwargs)

# Generate code (but do not JIT yet)
op = solver.op_fwd(None)
op = solver.op_fwd()

# Get the filename in the JIT cache
cfile = "%s.c" % str(op._compiler.get_jit_dir().joinpath(op._soname))
Expand Down

0 comments on commit c32993d

Please sign in to comment.