Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL ] Test for redefining int specialization const to zero #541

Merged
merged 8 commits into from
Nov 18, 2021

Conversation

maximdimakov
Copy link

@maximdimakov maximdimakov commented Oct 30, 2021

This test is for intel/llvm#4845
Signed-off-by: mdimakov [email protected]

@kbobrovs
Copy link

Jenkins failure fixed here: #542

@@ -122,7 +122,7 @@ bool test_set_and_get_on_host(sycl::queue q) {
"custom_type specializaiton constant before setting any value"))
++errors;

int new_int_value = 8;
int new_int_value = 0;

Choose a reason for hiding this comment

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

I'd suggest to add new test cases rather than changing existing ones.

Copy link
Author

Choose a reason for hiding this comment

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

I added new test case

AlexeySachkov
AlexeySachkov previously approved these changes Nov 8, 2021
@maximdimakov
Copy link
Author

@kbobrovs could you, please, review?

Copy link

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

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

LGTM.

One note: it is not clear what this comment is about: Remove XFAIL line due to problem is resolved in intel/llvm#4845, as there is no such change in the PR or XFAIL line in the test.

@vladimirlaz vladimirlaz merged commit de6fcf8 into intel:intel Nov 18, 2021
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants