-
Notifications
You must be signed in to change notification settings - Fork 796
[SYCL][E2E] Sort KHR include dependencies #20472
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
[SYCL][E2E] Sort KHR include dependencies #20472
Conversation
This commit sorts the included files in the include_deps tests of KHR include headers. This should help ensure consistency in testing, while preserving the boundaries of the includes. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
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.
I had it unsorted on purpose, because a header moved later in the test indicated a positive change even if the total number remained the same.
What problem are you trying to solve?
The test is failing locally due to the cstdlib include being in another place in the list. Seemed reasonable based on that that ordering did not matter, but if it is intentional maybe we need another solution. |
|
Surprisingly, I can reproduce the failure locally as well: The fact that we do not include Note that pre-commit, nightly and post-commit all pass. Before tests for khr includes were introduced, we only checked like 3 header files, but now we check way more so we just uncovered an existing quirkiness. I wonder if we should just exclude |
+1 if that helps. In theory, our wrappers can trigger an "earlier" inclusion of some Alternatively, we can adjust the test itself to include |
|
Let's go with the proposed solutions instead. 👍 |
PR to drop |
This commit sorts the included files in the include_deps tests of KHR include headers. This should help ensure consistency in testing, while preserving the boundaries of the includes.