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

[SYCL] fix post-commit failures from kernel_compiler sycl cache PR #15968

Conversation

cperkinsintel
Copy link
Contributor

in some of the post commit testing the SYCL support of the kernel_compiler is not available. Previously, the test just quietly exited, but for the cache support the test grew a bit. Now we check the availability before proceeding.

Post commit checks for this are presently running here: https://github.com/intel/llvm/actions/runs/11636755314/job/32408707610

…piler is not available. Previously, the test just quietly exited, but for the cache support the test grew a bit. Now we check the availability before proceeding
@cperkinsintel cperkinsintel marked this pull request as ready for review November 2, 2024 04:14
@cperkinsintel cperkinsintel requested a review from a team as a code owner November 2, 2024 04:14
@againull againull merged commit 642d309 into intel:sycl Nov 4, 2024
23 checks passed
Comment on lines +19 to +21
// DEFINE: %{available} = %t.out available

// RUN: %if available %{ %{run} %t.out %}
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this condition doesn't work as expected. Regardless of whether the executable returns 0 or 1, I get

# RUN: at line 21 has no command after substitutions

Can such a substitution be used for the %if construct? The testing guide only mention "features" as conditions.

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 think you are right - these tests aren't running at all. This is a problem, the post-commit testing has a pass where the invoking kernel_compiler simply isn't available. Might have to figure out a different way of excluding that pass.

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.

4 participants