From ad1d8347cdcd43cc3f1d6d16966ec26d4107d7c2 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Tue, 4 Jul 2023 00:52:42 -0700 Subject: [PATCH] Testing mode should not affect the behavior of the framework --- dace/codegen/codegen.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dace/codegen/codegen.py b/dace/codegen/codegen.py index e6bb6d9a50..c502a47376 100644 --- a/dace/codegen/codegen.py +++ b/dace/codegen/codegen.py @@ -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)