-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Add support for SYCL_EXTERNAL #622
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[SYCL] Add support for SYCL_EXTERNAL #622
Conversation
1063816
to
37d301b
Compare
implicitly inherit this attribute. | ||
}]; | ||
} | ||
|
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.
Thanks for providing the doc!
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.
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>
37d301b
to
16eda88
Compare
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.
Re-approve after rebase.
This patch
(a) Completes implementation for sycl_device attribute
(b) Defines SYCL_EXTERNAL macro as prescribed by the spec