-
Notifications
You must be signed in to change notification settings - Fork 769
Implement sycl_khr_work_item_queries
extension
#18519
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
base: sycl
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Aziz <michael.aziz@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.
Looks good overall! One test nit.
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Thanks for the reviews, @steffenlarsen, @dyniols. I've applied your suggested changes. |
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!
namespace khr { | ||
|
||
template <int Dimensions> nd_item<Dimensions> this_nd_item() { | ||
return ext::oneapi::experimental::this_nd_item<Dimensions>(); |
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.
Similar comment as in #18521 (comment). We should let KHR extensions be the leaves as much as possible.
@intel/llvm-gatekeepers, this should be ready to merge. |
Implements the extension defined in KhronosGroup/SYCL-Docs#682.