Skip to content

Fixes a bug in the conversion from a flattened 1D array representation to a rank-2 array.#314

Closed
abhiyanpaudel wants to merge 1 commit into
developfrom
flat-to-rank2-array-v2
Closed

Fixes a bug in the conversion from a flattened 1D array representation to a rank-2 array.#314
abhiyanpaudel wants to merge 1 commit into
developfrom
flat-to-rank2-array-v2

Conversation

@abhiyanpaudel

Copy link
Copy Markdown
Collaborator

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

@Sichao25 Can you confirm that this is resolved in the new branch?

@Sichao25

Copy link
Copy Markdown
Contributor

Yes, we created a new helper function to construct a Kokkos View from an Omega_h array.

@jacobmerson

Copy link
Copy Markdown
Collaborator

I believe we addressed this. Please reopen if this comes up again in current version.

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.

4 participants