Skip to content

Layout mismatch of View #310

@Sichao25

Description

@Sichao25

pcms mdspan are currently defined with Kokkos::layout_right regardless of memory space. While this ensures layout consistency, it causes extra complexity and potential pitfalls when copying or creating Rank2View from a default Kokkos View. For now, a helper function is used to handle layout mismatches.

This design may be worth revisiting. One option is to enforce a uniform layout across all Kokkos Views in future development and input/output.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions