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

Add View::extents() #718

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Feb 27, 2023

Since it's quite common to query the extents of a view, here is a shortcut so you don't need to write view.mapping().extents(). This also opens the door for slices SubView to have different sizes (not in this PR).

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Merging #718 (ae90102) into develop (da10cd8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #718   +/-   ##
========================================
  Coverage    98.78%   98.78%           
========================================
  Files           74       74           
  Lines         7157     7158    +1     
========================================
+ Hits          7070     7071    +1     
  Misses          87       87           

@bernhardmgruber bernhardmgruber merged commit dfd7fac into alpaka-group:develop Feb 27, 2023
@bernhardmgruber bernhardmgruber deleted the extents branch February 27, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant