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

Array API Manipulation Function Improvements #3056

Merged

Conversation

jeremiah-corrado
Copy link
Contributor

@jeremiah-corrado jeremiah-corrado commented Mar 21, 2024

Improvements to the Array API Manipulation functions module and related code:

  • add tile, unstack, and repeat implementations
  • expand/improve testing for manipulation functions
  • performance improvements for various manipulation functions
    • remove patterns that resulted in unnecessary communication with locale 0
    • add flatten/unflatten procedures that rely on bulk put/get operations instead of aggregated communication
  • implement rank-reducing indexing
    • ex: my3DArr[1, 0:5, 0:5] now returns a 2D array instead of a 3D array with a degenerate axis

…ions module. Implement rank-reducing indexing for ND arrays. Bug fixes and performance improvements in manipultation functions.

Signed-off-by: Jeremiah Corrado <[email protected]>
@jeremiah-corrado jeremiah-corrado changed the title Array API Performance Improvements Array API Manipulation Function Improvements Mar 28, 2024
@jeremiah-corrado jeremiah-corrado marked this pull request as ready for review March 28, 2024 18:49
@bmcdonald3 bmcdonald3 added this pull request to the merge queue Apr 10, 2024
Merged via the queue into Bears-R-Us:master with commit 2cd6162 Apr 10, 2024
13 checks passed
@jeremiah-corrado jeremiah-corrado deleted the array-api-perf-improvements branch April 16, 2024 14:26
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.

2 participants