-
Notifications
You must be signed in to change notification settings - Fork 116
Relocate SYCL scan-by-segment to pstl/hetero/dpcpp
#2275
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
pstl/hetero/dpcpp
pstl/hetero/dpcpp
include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_scan_by_segment.h
Outdated
Show resolved
Hide resolved
Overall, looks good to me, excepting one minor comment. |
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
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.
Yeah, LGTM as well.
ef54da7
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
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
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
fc2ca42
I noticed some header includes in the moved scan-by-segment file are now unnecessary and a few others should be present. I updated these. |
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
Signed-off-by: Matthew Michel <matthew.michel@intel.com>
fc2ca42
to
82d86e0
Compare
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
@mmichel11 thank you for this PR! |
* Moves SYCL specific code to `pstl/hetero/dpcpp` to align with our general design --------- Signed-off-by: Matthew Michel <matthew.michel@intel.com>
* Moves SYCL specific code to `pstl/hetero/dpcpp` to align with our general design --------- Signed-off-by: Matthew Michel <matthew.michel@intel.com>
This addresses #2210.
The current SYCL implementation of the scan-by-segment algorithms is in the
internal
directory in theoneapi::dpl::__par_backend_hetero
namespace. This does not align with our general architecture, so the implementation has been moved topstl/hetero/dpcpp/parallel_backend_sycl_scan_by_segment.h
. Furthermore,__pattern_scan_by_segment
has been relocated topstl/hetero/algorithm_impl_hetero.h
.Additionally, the following small tweaks are made:
::std
->std
__pattern_scan_by_segment