8000 [SYCL] Add implementation of sycl::intel::barrier by Pennycook · Pull Request #2198 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SYCL] Add implementation of sycl::intel::barrier #2198

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

Merged
merged 9 commits into from
Aug 4, 2020

Conversation

Pennycook
Copy link
Contributor

Exposes barrier as a free function, aligned with group_barrier from SYCL 2020
provisional.

Naming is aligned with the existing DPC++ group algorithms, hence barrier in
place of group_barrier.

Signed-off-by: John Pennycook john.pennycook@intel.com

Exposes barrier as a free function, aligned with group_barrier from SYCL 2020
provisional.

Naming is aligned with the existing DPC++ group algorithms, hence barrier in
place of group_barrier.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook added enhancement New feature or request spec extension All issues/PRs related to extensions specifications labels Jul 28, 2020
Closer alignment with 2020 provisional.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook marked this pull request as ready for review July 29, 2020 17:29
@Pennycook Pennycook requested a review from v-klochkov July 29, 2020 17:29
@jbrodman
Copy link
Contributor

Please fix test/build failures.

@Pennycook
Copy link
Contributor Author

Please fix test/build failures.

I don't think they're related to this PR. The same test is failing across multiple PRs.

@jbrodman
Copy link
Contributor

Please fix test/build failures.

I don't think they're related to this PR. The same test is failing across multiple PRs.

Even better!

jbrodman
jbrodman previously approved these changes Jul 29, 2020
Copy link
Contributor
@jbrodman jbrodman left a comment

Choose a reason for hiding this comment

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

LGTM

v-klochkov
v-klochkov previously approved these changes Jul 29, 2020
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Signed-off-by: John Pennycook <john.pennycook@intel.com>
@Pennycook Pennycook dismissed stale reviews from v-klochkov and jbrodman via 6a34aac July 29, 2020 20:54
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Fix L0 build issues for testing.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
If scope is too narrow, implementation will ignore it.

Signed-off-by: John Pennycook <john.pennycook@intel.com>
Copy link
Contributor
@AlexeySachkov AlexeySachkov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@v-klochkov
Copy link
Contributor

@mkinsner: Hi Mike, this PR requires your approval.

@jbrodman jbrodman self-requested a review July 31, 2020 15:58
@Pennycook
Copy link
Contributor Author

@mkinsner: Hi Mike, this PR requires your approval.

@v-klochkov: I think @jbrodman's review counts here.

@bader bader merged commit 3df81ac into intel:sycl Aug 4, 2020
@Pennycook Pennycook deleted the group-barrier branch August 4, 2020 20:21
vladimirlaz added a commit that referenced this pull request Aug 5, 2020
bader pushed a commit that referenced this pull request Aug 5, 2020
…2261)

This reverts commit 3df81ac.

SYCL::barrier.cpp is failing for every run after merging the PR both on Windows and Linux (e.g. http://ci.llvm.intel.com:8010/#/builders/18/builds/3851)
jsji pushed a commit that referenced this pull request Nov 16, 2023
A set of llvm.vector.reduce.* intrinsics doesn't have straight forward
operation equivalent on the SPIRV side. The easiest solution to this
problem is to use scalar operation on each pair of vector elements
and repeat until there is only one value.

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@fe088cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request spec extension All issues/PRs related to extensions specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0