Insert an element in a view at a specific index using Kokkos::atomic_min
.
More...
#include <InsertOp.hpp>
Public Member Functions | |
template<concepts::View ViewType, std::integral IndexType, typename ValueType> | |
KOKKOS_FUNCTION void | op (const ViewType &values, const IndexType index, ValueType &&value) const |
Insert an element in a view at a specific index using Kokkos::atomic_min
.
To be used with e.g. Kokkos::UnorderedMap::insert
.
Definition at line 16 of file InsertOp.hpp.
|
inline |
Definition at line 20 of file InsertOp.hpp.