From 199164873d81220bb569b4b20de3fa303e966d6a Mon Sep 17 00:00:00 2001 From: Cliff Hodel Date: Thu, 21 Dec 2023 00:13:20 +0100 Subject: [PATCH] fix imports --- dace/sdfg/performance_evaluation/operational_intensity.py | 6 +++--- dace/sdfg/performance_evaluation/work_depth.py | 4 ++-- tests/sdfg/operational_intensity_test.py | 4 ++-- tests/sdfg/work_depth_test.py | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dace/sdfg/performance_evaluation/operational_intensity.py b/dace/sdfg/performance_evaluation/operational_intensity.py index f165b3b510..795c1d9803 100644 --- a/dace/sdfg/performance_evaluation/operational_intensity.py +++ b/dace/sdfg/performance_evaluation/operational_intensity.py @@ -12,13 +12,13 @@ from copy import deepcopy from dace.symbolic import pystr_to_symbolic, SymExpr -from dace.sdfg.work_depth_analysis.helpers import get_uuid +from dace.sdfg.performance_evaluation.helpers import get_uuid from dace.transformation.passes.symbol_ssa import StrictSymbolSSA from dace.transformation.pass_pipeline import FixedPointPipeline from dace.data import Array -from dace.sdfg.work_depth_analysis.op_in_helpers import CacheLineTracker, AccessStack, fit_curve, plot, compute_mape -from dace.sdfg.work_depth_analysis.work_depth import analyze_sdfg, get_tasklet_work +from dace.sdfg.performance_evaluation.op_in_helpers import CacheLineTracker, AccessStack, fit_curve, plot, compute_mape +from dace.sdfg.performance_evaluation.work_depth import analyze_sdfg, get_tasklet_work class SymbolRange(): diff --git a/dace/sdfg/performance_evaluation/work_depth.py b/dace/sdfg/performance_evaluation/work_depth.py index 0b257fdbaa..582cd4ce1f 100644 --- a/dace/sdfg/performance_evaluation/work_depth.py +++ b/dace/sdfg/performance_evaluation/work_depth.py @@ -18,8 +18,8 @@ import astunparse import warnings -from dace.sdfg.work_depth_analysis.helpers import get_uuid, find_loop_guards_tails_exits -from dace.sdfg.work_depth_analysis.assumptions import parse_assumptions +from dace.sdfg.performance_evaluation.helpers import get_uuid, find_loop_guards_tails_exits +from dace.sdfg.performance_evaluation.assumptions import parse_assumptions from dace.transformation.passes.symbol_ssa import StrictSymbolSSA from dace.transformation.pass_pipeline import FixedPointPipeline diff --git a/tests/sdfg/operational_intensity_test.py b/tests/sdfg/operational_intensity_test.py index fdc2c89a2d..edf7638201 100644 --- a/tests/sdfg/operational_intensity_test.py +++ b/tests/sdfg/operational_intensity_test.py @@ -3,8 +3,8 @@ import dace as dc import sympy as sp import numpy as np -from dace.sdfg.work_depth_analysis.operational_intensity import analyze_sdfg_op_in -from dace.sdfg.work_depth_analysis.helpers import get_uuid +from dace.sdfg.performance_evaluation.operational_intensity import analyze_sdfg_op_in +from dace.sdfg.performance_evaluation.helpers import get_uuid from math import isclose diff --git a/tests/sdfg/work_depth_test.py b/tests/sdfg/work_depth_test.py index 9f79359927..a3a453f59e 100644 --- a/tests/sdfg/work_depth_test.py +++ b/tests/sdfg/work_depth_test.py @@ -1,9 +1,9 @@ # Copyright 2019-2023 ETH Zurich and the DaCe authors. All rights reserved. """ Contains test cases for the work depth analysis. """ import dace as dc -from dace.sdfg.work_depth_analysis.work_depth import analyze_sdfg, get_tasklet_work_depth, get_tasklet_avg_par, parse_assumptions -from dace.sdfg.work_depth_analysis.helpers import get_uuid -from dace.sdfg.work_depth_analysis.assumptions import ContradictingAssumptions +from dace.sdfg.performance_evaluation.work_depth import analyze_sdfg, get_tasklet_work_depth, get_tasklet_avg_par, parse_assumptions +from dace.sdfg.performance_evaluation.helpers import get_uuid +from dace.sdfg.performance_evaluation.assumptions import ContradictingAssumptions import sympy as sp import numpy as np