-
Notifications
You must be signed in to change notification settings - Fork 112
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
Added blocked_rangeNd #555
Conversation
Signed-off-by: Tobias Weinzierl <tobias.weinzierl@durham.ac.uk>
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.
Mostly suggesting fixes for typos, but also a couple of additional comments.
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
…ns of member functions. Align signatures in the description with the class synopsis. Some formatting fixes.
I have added |
In the last commit, I tried to specify the constructor from N blocked ranges in a different way which avoids the use of an unspecified parameter pack. @vossmjp please take a look. If this does not seem good, the only other option I could think of is uncovering the implementation trick we use. |
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
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 to me.
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
source/elements/oneTBB/source/algorithms/blocked_ranges/blocked_rangeNd_cls.rst
Outdated
Show resolved
Hide resolved
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 to me.
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!
I think this is now in great shape. |
An n-dimensional range has been in Intel's reference implementation for quite a while. It is an absolutely essential feature for a lot of scientific codes and hence should be part of the spec. This proposal starts from Intel's reference implementation but adds an array-based constructor which we found extremely useful in our codes. A PR to the reference implementation is submitted.