Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile test_utils at build time, use it in more tests #1783

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

fifield
Copy link
Collaborator

@fifield fifield commented Sep 20, 2024

  • Compile runtime_lib/test_lib/test_utils.cpp into a library during mlir-aie build just like test_library.cpp and use it to remove at least 30 copies of load_instr_sequence() from tests. And some number of check_arg_file_exists too.
  • Remove the %host_runtime_lib command substitution from test/lit.cfg.py and replace with %test_lib_flags and %test_utils_flags.

This compiles runtime_lib/test_lib/test_utils.cpp into a library during
mlir-aie build just like test_library.cpp and use it to remove at least
30 copies of load_instr_sequence() from tests. Remove the %host_runtime_lib
command substitution from test/lit.cfg.py and replace with
%test_lib_flags and %test_utils_flags.
@fifield fifield added this pull request to the merge queue Sep 23, 2024
Merged via the queue into Xilinx:main with commit d630495 Sep 23, 2024
67 checks passed
@fifield fifield deleted the test_utils_flags branch September 23, 2024 23:52
pvasireddy-amd pushed a commit to pvasireddy-amd/mlir-aie that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant