Skip to content

Conversation

@gmlueck
Copy link
Contributor

@gmlueck gmlueck commented Apr 9, 2021

Add a new proposed extension specification that allows device code to
conditionally use features that are supported on only some devices.

Add a new proposed extension specification that allows device code to
conditionally use features that are supported on only some devices.
@gmlueck gmlueck requested a review from kbobrovs April 9, 2021 19:49
@gmlueck gmlueck requested a review from a team as a code owner April 9, 2021 19:49
Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, just spotted a few typos.

@keryell
Copy link
Contributor

keryell commented Apr 13, 2021

This reminds me what @brycelelbach presented today at GTC https://youtu.be/KhZvrF_w1ak?t=1607 on the new if target in nvc++ replacing the CUDA __CUDA_ARCH__ to avoid some ODR violation. Of course, since SYCL is pure C++, we do not want such a language extension like in nvc++...

@bader bader added the spec extension All issues/PRs related to extensions specifications label Apr 14, 2021
@bader bader merged commit 4fb95fc into intel:sycl Apr 14, 2021
@gmlueck gmlueck deleted the gmlueck/device-if branch April 30, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec extension All issues/PRs related to extensions specifications

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants