-
Notifications
You must be signed in to change notification settings - Fork 770
[SYCL] Parallel-for range correction to improve group size selection by GPU driver #2703
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
Changes from 1 commit
a23f9ad
047123f
73f50bd
2aad33d
ac6bf28
da1a3ab
e186605
eaacd8a
535745f
5c6c841
dc20fa1
d62e2f1
b860666
8677a2b
c340ccf
e08a478
0b878dc
d6773cb
59ae778
81b777c
900aca8
094c01d
700c056
6bfede9
383ae96
e8e7f74
e8b0872
e6d42a0
4b9093e
a2a6ded
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,8 @@ template <int dimensions = 1, bool with_offset = true> class item { | |
|
||
bool operator!=(const item &rhs) const { return rhs.MImpl != MImpl; } | ||
|
||
void set_allowed_range(const range<dimensions> rnwi) { MImpl.MExtent = rnwi; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this new function is public. Should it be? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch. This seems to introduce a lot of new public functions. I don't think we should be doing that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The whole point of this is to be transparent to the programmer, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. |
||
|
||
protected: | ||
template <bool has_offset = with_offset> | ||
item(detail::enable_if_t<has_offset, const range<dimensions>> &extent, | ||
|
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.
Remove reference to internal tracking number.
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.
OK