Kokkos Core Kernels Package
Version of the Day
|
Operations applied to the values array upon subsequent insertions. More...
#include <Kokkos_UnorderedMap.hpp>
Operations applied to the values array upon subsequent insertions.
The default behavior when a k,v pair already exists in the UnorderedMap is to perform no operation. Alternatively, the caller may select to instantiate the UnorderedMap with the AtomicAdd insert operator such that duplicate keys accumulate values into the given values array entry.
ValueTypeView | The UnorderedMap value array type. |
ValuesIdxType | The index type for lookups in the value array. |
Supported operations: NoOp: the first key inserted stores the associated value. AtomicAdd: duplicate key insertions sum values together.
Definition at line 136 of file Kokkos_UnorderedMap.hpp.