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

[SYCL] Update parallel_for_range.cpp test #353

Merged
merged 4 commits into from
Jul 13, 2021

Conversation

smanna12
Copy link

@smanna12 smanna12 commented Jul 12, 2021

In SYCL 1.2.1 spec, the attributes get propagated from device functions to a kernel.

The SYCL 2020 requirement mandating the avoidance of the propagation of all kernel attributes to the caller when used on a function.

The patch fixes failures caused by PR: intel/llvm#4084
where the attribute: reqd_work_group_size does not get propagated to the kernel/caller from device functions in SYCL 2020
as the default version in SYCL mode is 2020.

We are moving to SYCL 2020, so the test has been updated to reflect the SYCL 2020-compatible behavior.

@smanna12 smanna12 requested a review from vladimirlaz July 12, 2021 17:08
@smanna12 smanna12 marked this pull request as ready for review July 12, 2021 17:08
@smanna12 smanna12 requested a review from a team as a code owner July 12, 2021 17:08
@vladimirlaz
Copy link

cuda failures are not connected to the change and can be ignored

@smanna12
Copy link
Author

smanna12 commented Jul 12, 2021

The patch should be merged before intel/llvm#4084.

@smanna12
Copy link
Author

cuda failures are not connected to the change and can be ignored

Thanks @vladimirlaz for the review.

@vladimirlaz vladimirlaz merged commit d10f47b into intel:intel Jul 13, 2021
smaslov-intel pushed a commit to smaslov-intel/llvm-test-suite that referenced this pull request Aug 12, 2021
The changes are due to the PR: intel/llvm#3427

Signed-off-by: Soumi Manna <[email protected]>
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.

2 participants