-
Notifications
You must be signed in to change notification settings - Fork 407
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
SYCL parallel_for MDRangePolicy #3583
Conversation
c774a6c
to
fc053a5
Compare
5f9bf66
to
0220349
Compare
Retest this please. |
0220349
to
90dbc0f
Compare
Retest this please. |
1 similar comment
Retest this please. |
This should be ready. |
Only one of the HIP CI checks is timing out which I am pretty sure is unrelated. |
55e17e8
to
eaf4308
Compare
} | ||
#endif | ||
#if defined(KOKKOS_ENABLE_SYCL) | ||
// FIXME_SYCL query the limit instead |
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.
How do you plan on getting that 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.
m_device.get_info<device::max_work_group_size>()
should work.
#else | ||
range_type range(point_type{{0, 0, 0}}, point_type{{N0, N1, N2}}, | ||
tile_type{{8, 8, 4}}); | ||
#endif |
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.
Are you changing all these because m_prod_tile_dims > 256
?
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.
Yes.
d64f3e2
to
439245e
Compare
const Policy m_policy; | ||
|
||
ParallelFor() = delete; | ||
ParallelFor& operator=(ParallelFor const&) = delete; |
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.
We should declare the copy/move constructor and move assignment operator as deleted and the destructor as defaulted (Rule of 5).
Please address #3583 (comment) |
a1e553d
to
8dfbe33
Compare
@dalg24 Here you go! |
All CI except for Travis has passed. |
Needs #3582.
So far only tested with the incremental test.