Skip to content

Commit

Permalink
Moved test_utils.py to utils/test.py (#1270)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jackl-xilinx and github-actions[bot] authored Apr 17, 2024
1 parent 8e358fe commit 15fe206
Show file tree
Hide file tree
Showing 9 changed files with 968 additions and 73 deletions.
3 changes: 1 addition & 2 deletions programming_examples/basic/eltwise_exp/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
import sys
import time

sys.path.append("../../programming_examples/utils")
import test_utils
import aie.utils.test as test_utils

# ------------------------------------------------------
# Configure this to match your design's buffer size
Expand Down
3 changes: 1 addition & 2 deletions programming_examples/basic/eltwise_mul/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
import sys
import time

sys.path.append("../../python")
import test_utils
import aie.utils.test as test_utils

# ------------------------------------------------------
# Configure this to match your design's buffer size
Expand Down
3 changes: 1 addition & 2 deletions programming_examples/ml/eltwise_add/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import sys
import time

sys.path.append("../../programming_examples/utils")
import test_utils
import aie.utils.test as test_utils

# ------------------------------------------------------
# Configure this to match your design's buffer size
Expand Down
9 changes: 9 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ declare_mlir_python_sources(AIEPythonSources.Util
util.py
)

declare_mlir_python_sources(AIEPythonSources.Utils
ADD_TO_PARENT AIEPythonSources
SOURCES
utils/test.py
utils/xrt.py
utils/ml.py
utils/trace.py
)

declare_mlir_python_sources(AIEPythonSources.Extras
ADD_TO_PARENT AIEPythonSources
SOURCES_GLOB
Expand Down
67 changes: 0 additions & 67 deletions python/test_utils.py

This file was deleted.

Loading

0 comments on commit 15fe206

Please sign in to comment.