-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL][NFC] Drop on-device tests in favor of llvm-test-suite #4393
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
Conversation
The original motivation for introducing on-device tests was two-fold: - Provide a way to test product changes together with E2E test changes for features in active development, these tests would then be moved to llvm-test-suite once the feature is considered stable. Frequently, instead of using on-device tests (or in case an existing llvm-test-suite test has to be modified) developers would create a pull request in each repo, link them via a comment, then they would be either merged simultaneously (while relying on local testing and intel/llvm post-commit results for the modified/added tests) or one after the other. - As a way to have some sanity E2E checks in intel/llvm. On-device tests haven't been used in this manner, we've been relying on component tests instead. This patch drops in-tree on-device tests in favor of llvm-test-suite in order to reduce in-tree test running time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think we should continue working on make it easier to run llvm-test-suite tests in local work spaces.
We should not drop on-device lit infrastructure as it is used for internal testing. It is developers responsibility to move tests to E2E test suite once feature development finished. |
What do you mean by "internal testing"? Are there any tests other than removed in this PR use this infrastructure?
I don't think so. According to my observations most of the developers contribute to llvm-test-suite bypassing "on-device" tests. Maintaining another infrastructure and machine infrastructure to run them doesn't sounds like a reasonable choice to me.
If developers has configured environment for running "on-device" tests, they can easily run E2E tests as well, so it's better to make it easy to integrate E2E tests to developer's workflow than support two different test suites. |
|
I suggest move them to llvm-test-suite as it's done with "on-device" tests.
ROCm is not tested yet, so there are no risks added to existing risks.
The idea behind LLVM projects in-tree tests is that they should not have extra dependencies like specific HW or SW. We are trying to align with such requirement and move tests requiring GPU/FPGA HW and OpenCL/CUDA driver to llvm-test-suite. |
https://github.com/intel/llvm/blob/sycl/CONTRIBUTING.md should be also updated to remove reference to deleted infra |
16f193f
The original motivation for introducing on-device tests was two-fold:
for features in active development, these tests would then be moved to
llvm-test-suite once the feature is considered stable. Frequently,
instead of using on-device tests (or in case an existing llvm-test-suite
test has to be modified) developers would create a pull request in each
repo, link them via a comment, then they would be either merged
simultaneously (while relying on local testing and intel/llvm post-commit
results for the modified/added tests) or one after the other.
tests haven't been used in this manner, we've been relying on component
tests instead.
This patch drops in-tree on-device tests in favor of llvm-test-suite
in order to reduce in-tree test running time.