Skip to content

Conversation

@nliber
Copy link
Contributor

@nliber nliber commented Jun 11, 2025

This is to address kokkos/kokkos#8097 and partially address #690.

Added new documentation for MaxFirstLoc, MinFirstLoc and MinMaxFirstLastLoc.

This documentation is a bit cleaner and more complete (includes defaulted HostSpace, references_scalar() and CTAD) than the existing MaxLoc, etc.. After this stabilizes, I'll update MaxLoc, etc. (and probably others) under a separate PR.

Added notes to MaxLoc, etc. about those who want a specific index for duplicate equivalent values should use MaxFirstLoc, etc. instead.

This note is under the description of join.

@nliber nliber force-pushed the MxxFirstLoc-reducers branch from 9b1673a to 58a18a4 Compare June 12, 2025 01:32
@nliber nliber changed the title Adding MxxFirstLoc reducers Adding MxxOFirstLoc reducers Jun 12, 2025
@nliber nliber changed the title Adding MxxOFirstLoc reducers Adding Mxx*FirstLoc reducers Jun 12, 2025

.. rubric:: Constructors:

.. cpp:function:: MaxFirstLoc(value_type& value_);
Copy link
Member

Choose a reason for hiding this comment

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

KOKKOS_FUNCTION annotations are missing
Same comment everywhere below

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