-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] Update parallel_for_range.cpp test #297
Conversation
The changes are due to the PR: intel/llvm#3427 Signed-off-by: Soumi Manna <[email protected]>
This reverts commit 258eec3.
Signed-off-by: Soumi Manna <[email protected]>
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.
It looks like regression test. The test should fail until product change is fixed to effectively expose the issue.
Thanks @vladimirlaz for the reviews. I will add XFAIL:Linux in the test. |
may be it is misunderstanding but my expectation is that the test change adds case which is fixed by compiler change. |
@smanna12 could you please update the test to let it fail before intel/llvm#3836 is submitted and pass once the PR submitted? |
@smanna12 could you please rebase the PR and apply comment? |
Sorry @vladimirlaz for replying late. Yes, i will rebase and apply comment. Thanks |
@vladimirlaz , i would like to follow up with you before i make the test change here: In SYCL 1.2.1 spec (SYCL mode is 2017), the attributes get propagated from device functions to a kernel.
The SYCL 2020 ((SYCL mode is 2020), requirement mandating the avoidance of the propagation of all kernel attributes to the caller when used on a function.
The default version in SYCL mode is 2020, so “llvm-test-suite/SYCL/Basic/ parallel_for_range.cpp” is failing due to the PR: intel/llvm#3836 Proposed fix:
I do not think we can add any test case which is fixed by compiler change, So the test should fail until product change is submitted. Please let me know what do you think about the correct fix here? Thanks |
We are moving to SYCL2020 so I suggest to have only 2020-compatible test |
Thanks @vladimirlaz for the suggestion. I have created #353 for this. Thanks. |
The changes are due to the PR: intel/llvm#3836
where the attribute: reqd_work_group_size does not get propagated to the caller from device functions to match with SYCL 2020 spec.
Signed-off-by: Soumi Manna [email protected]