Skip to content

[SYCL] Add support for the in-tree end-to-end tests #8081

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

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

aelovikov-intel
Copy link
Contributor

@aelovikov-intel aelovikov-intel commented Jan 23, 2023

We plan to move the intel/llvm-test-suite back in-tree. In order to do that, we need to update the infrastructure first, both in this repository and internally. Start by adding a single trivial test and enabling cmake/Linux CI support.

We plan to run the tests in a "standalone" mode, similarly how current intel/llvm-test-suite is used. As such, CMake target is decoupled from general check-* processing and is not include into check-all automatically.

CI support is extended via an additional parameter in test matrix generator, in_tree_e2e boolean flag.

@aelovikov-intel aelovikov-intel requested a review from a team as a code owner January 23, 2023 18:23
@@ -0,0 +1,435 @@
# -*- Python -*-
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need to try to preserve history here.

@aelovikov-intel aelovikov-intel temporarily deployed to aws January 23, 2023 18:49 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel temporarily deployed to aws January 23, 2023 19:19 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel marked this pull request as draft January 24, 2023 00:14
@aelovikov-intel aelovikov-intel changed the title [SYCL] Add cmake support for the SYCL End-to-End tests [SYCL] Add support for the SYCL End-to-End tests Feb 13, 2023
@aelovikov-intel aelovikov-intel marked this pull request as ready for review February 13, 2023 04:40
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner February 13, 2023 04:40
@aelovikov-intel aelovikov-intel changed the title [SYCL] Add support for the SYCL End-to-End tests [SYCL] Add support for the in-tree SYCL end-to-end tests Feb 13, 2023
@aelovikov-intel aelovikov-intel changed the title [SYCL] Add support for the in-tree SYCL end-to-end tests [SYCL] Add support for the in-tree end-to-end tests Feb 13, 2023
@aelovikov-intel aelovikov-intel temporarily deployed to aws February 13, 2023 11:10 — with GitHub Actions Inactive
We plan to move the intel/llvm-test-suite back in-tree. In order to do
this we need to update the infrastructure first (e.g., CI). Enable that
by adding require CMake support and a "fake" test.

We plan to run the tests in a "standalone" mode, similarly how current
intel/llvm-test-suite is used. As such, CMake target is decoupled from
general check-* processing and is not include into check-all
automatically.
I'm extending our test matrix with `in_tree_e2e` parameter and updating
llvm_test_suite action/sycl_linux_build_and_test workflow to respect its
value.
@aelovikov-intel aelovikov-intel temporarily deployed to aws February 13, 2023 16:24 — with GitHub Actions Inactive
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI scripts look good to me.
Thanks!

LIT_OPTS controls llvm-lit itself, not the CMakeLists.txt in our
llvm-test-suite.
@aelovikov-intel aelovikov-intel temporarily deployed to aws February 13, 2023 19:23 — with GitHub Actions Inactive
config.available_features.add(aot_tool)
else:
lit_config.warning("Couldn't find pre-installed AOT device compiler " + aot_tool)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a note, this will need to be updated with the changes from intel/llvm-test-suite#1535 when kernel fusion tests are moved.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up.

endif()
endif() # Standalone.

if(SYCL_TEST_E2E_STANDALONE)
Copy link
Contributor

@sergey-semenov sergey-semenov Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: I would suggest to merge this with the previous if to make it a bit more concise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to merge as-is for now.

@aelovikov-intel
Copy link
Contributor Author

Unexpectedly passing SYCL :: ESIMD/imulh_umulh.cpp is being disabled elsewhere.

Also, pre-commit tasks are being run with some mixture of the code in this PR/trunk due to security setup and their results for the changes being implemented here are meaningless.

I believe this should be merged now, @bader , @intel/llvm-gatekeepers .

@bader bader merged commit 990a71f into intel:sycl Feb 14, 2023
@aelovikov-intel aelovikov-intel temporarily deployed to aws February 15, 2023 12:24 — with GitHub Actions Inactive
bader added a commit that referenced this pull request Feb 17, 2023
bader added a commit that referenced this pull request Feb 17, 2023
@aelovikov-intel aelovikov-intel deleted the move-test-suite branch May 1, 2023 16:14
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.

3 participants