Skip to content

Commit

Permalink
Testing mode should not affect the behavior of the framework
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun committed Jul 4, 2023
1 parent b79b008 commit ad1d834
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dace/codegen/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ def generate_code(sdfg, validate=True) -> List[CodeObject]:
shutil.move(f"{tmp_dir}/test2.sdfg", "test2.sdfg")
raise RuntimeError('SDFG serialization failed - files do not match')

# Run with the deserialized version
# NOTE: This means that all subsequent modifications to `sdfg`
# are not reflected outside of this function (e.g., library
# node expansion).
sdfg = sdfg2

# Before generating the code, run type inference on the SDFG connectors
infer_types.infer_connector_types(sdfg)
Expand Down

0 comments on commit ad1d834

Please sign in to comment.