-
Notifications
You must be signed in to change notification settings - Fork 797
[SYCL] Allow [[sycl::device_has]] attribute on kernel #5503
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
Conversation
The original implementation of this attribute in intel#5166, did not support applying the attribute on the kernel itself. This patch fixes that. The attribute can be applied to the operator method of kernel functor or on the kernel lambda. Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
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.
Overall LGTM, only have a question to the test.
Signed-off-by: Elizabeth Andrews <elizabeth.andrews@intel.com>
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.
could you please stop mentioning me. I'm not involved in this project. |
Oh I'm sorry. I didn't realize I was tagging the wrong person. Thanks for letting me know! |
Thanks for the reviews! |
The original implementation of this attribute in
#5166, did not support
applying the attribute on the kernel itself. This patch
fixes that. The attribute can be applied to the operator
method of kernel functor or on the kernel lambda.
Signed-off-by: Elizabeth Andrews elizabeth.andrews@intel.com