Skip to content
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

[SYCL] Add support for SYCL_EXTERNAL #622

Merged
merged 2 commits into from
Sep 19, 2019

Conversation

sndmitriev
Copy link
Contributor

This patch
(a) Completes implementation for sycl_device attribute
(b) Defines SYCL_EXTERNAL macro as prescribed by the spec

Fznamznon
Fznamznon previously approved these changes Sep 10, 2019
implicitly inherit this attribute.
}];
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for providing the doc!

kbobrovs
kbobrovs previously approved these changes Sep 17, 2019
Copy link
Contributor

@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

All functions annotated by the sycl_device attribute are supposed to be retained in the device compilation as well as the functions that are called/accessed from them. Support for sycl_device attribute was incomplete in clang; this patch adds the missing functionality.

Signed-off-by: Sergey Dmitriev <serguei.n.dmitriev@intel.com>
Signed-off-by: Sergey Dmitriev <serguei.n.dmitriev@intel.com>
Copy link
Contributor

@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.

Re-approve after rebase.

@bader bader merged commit a65b499 into intel:sycl Sep 19, 2019
@sndmitriev sndmitriev deleted the public/sndmitriev/sycl-external-macro branch December 22, 2020 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants