-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL] Add range and nd_range CTAD support #772
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
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 starting implementing my bigger plan. :-)
triSYCL/triSYCL#218
int main() { | ||
cl::sycl::range one_dim_range(64); | ||
cl::sycl::range two_dim_range(64, 1); | ||
cl::sycl::range three_dim_range(64, 1, 2); |
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.
Interesting to combine new-style CTAD with old-style explicit constructor call...
Are there any other we should add? I looked through all and couldn't find any other. |
1bc74cd
to
5fd1eff
Compare
Yes probably for the accessors |
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
@rolandschulz Please, rebase your changes. |
Also replace one enable_if with static_assert for better diagnostic. Signed-off-by: Roland Schulz <[email protected]>
5fd1eff
to
ef512f8
Compare
Also replace one enable_if with static_assert for better diagnostic.