Skip to content

Fix cudecompGetShiftedRank behavior with zero-displacement.#131

Merged
romerojosh merged 1 commit into
mainfrom
shifted-rank-zero-displacement
May 6, 2026
Merged

Fix cudecompGetShiftedRank behavior with zero-displacement.#131
romerojosh merged 1 commit into
mainfrom
shifted-rank-zero-displacement

Conversation

@romerojosh
Copy link
Copy Markdown
Collaborator

Currently, cudecompGetShiftedRank will return -1 for a zero-displacement if dim == axis and the grid is not periodic. This PR fixes the behavior so this API will correctly return the self rank in this scenario.

@romerojosh romerojosh merged commit 5637793 into main May 6, 2026
4 checks passed
@romerojosh romerojosh deleted the shifted-rank-zero-displacement branch May 7, 2026 00:21
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