Skip to content
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

Merged
merged 20 commits into from
Oct 29, 2024
Merged

Added blocked_rangeNd #555

merged 20 commits into from
Oct 29, 2024

Conversation

tobiasweinzierl80
Copy link
Contributor

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.

Signed-off-by: Tobias Weinzierl <tobias.weinzierl@durham.ac.uk>
@akukanov akukanov added the TBB label Aug 12, 2024
Copy link

@vossmjp vossmjp left a 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.

sasalla23 and others added 2 commits August 30, 2024 09:15
…ns of member functions. Align signatures in the description with the class synopsis. Some formatting fixes.
@akukanov
Copy link
Contributor

akukanov commented Sep 2, 2024

I have added using size_type = dim_range_type::size_type; to the class definition, and changed some of the methods to use it. It needs to be added to the implementation.

@akukanov
Copy link
Contributor

akukanov commented Sep 3, 2024

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.

Copy link

@vossmjp vossmjp left a 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.

akukanov and others added 2 commits September 3, 2024 21:49
Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
Co-authored-by: Alexandra <alexandra.epanchinzeva@intel.com>
Copy link

@vossmjp vossmjp left a 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.

Copy link
Contributor

@pavelkumbrasev pavelkumbrasev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@akukanov akukanov merged commit 39c46a2 into uxlfoundation:main Oct 29, 2024
3 checks passed
@tobiasweinzierl80
Copy link
Contributor Author

I think this is now in great shape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants