Skip to content

Conversation

@yasahi-hpc
Copy link
Collaborator

@yasahi-hpc yasahi-hpc commented Oct 18, 2025

This PR aims at introducing bound check option to transpose function.

@yasahi-hpc yasahi-hpc self-assigned this Oct 18, 2025
@yasahi-hpc yasahi-hpc added enhancement New feature or request cleanup labels Oct 18, 2025
@yasahi-hpc yasahi-hpc force-pushed the introduce-safe-transpose branch from 812d437 to 8ed52f0 Compare October 31, 2025 09:41
Copy link

@PaulGannay PaulGannay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +148 to +151
/// \tparam iType The index type used for the view
/// \tparam ArgBoundsCheck The bounds check type (default is Off)
template <typename ExecutionSpace, typename InViewType, typename OutViewType,
typename iType>
typename iType, typename ArgBoundsCheck = BoundsCheck::Off>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit unrelated with this PR but I would take advantage of it to change iType to IndexType for consistency.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review

It's a bit unrelated with this PR but I would take advantage of it to change iType to IndexType for consistency.

I guess I use iType in multiple functions
Can I rename them in another PR?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I was proposing to do this one now since you are touching it, but if you want to change them all it would be better to do it in a dedicated PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I will merge this first and make a dedicated PR

@yasahi-hpc yasahi-hpc merged commit 61048e2 into kokkos:main Oct 31, 2025
39 checks passed
@yasahi-hpc yasahi-hpc deleted the introduce-safe-transpose branch October 31, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants