Skip to content

Fix flat array to rank-2 array conversion#309

Open
abhiyanpaudel wants to merge 62 commits intodevelopfrom
flat-to-rank2-array
Open

Fix flat array to rank-2 array conversion#309
abhiyanpaudel wants to merge 62 commits intodevelopfrom
flat-to-rank2-array

Conversation

@abhiyanpaudel
Copy link
Copy Markdown
Collaborator

Fixes a bug in the conversion from a flattened 1D array representation to a rank-2 array. The previous conversion could produce incorrect indexing/layout when reshaping data from a 1D flattened representation into a rank-2 array. This bug was found while working on PR #300.

@jacobmerson
Copy link
Copy Markdown
Collaborator

@abhiyanpaudel are all the changes in this PR needed to fix the bug? I think we should rebase the specific fix maybe ad5b512 on develop.

Wouldn't specifying the Layout of the Kokkos view resolve this without copying?

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.

3 participants