|
Kokkos Core Kernels Package Version of the Day
|
First element of the return value of UnorderedMap::insert(). More...
#include <Kokkos_UnorderedMap.hpp>
Public Member Functions | |
| KOKKOS_FORCEINLINE_FUNCTION bool | success () const |
| Did the map successful insert the key/value pair. | |
| KOKKOS_FORCEINLINE_FUNCTION bool | existing () const |
| Was the key already present in the map. | |
| KOKKOS_FORCEINLINE_FUNCTION bool | failed () const |
| Did the map fail to insert the key due to insufficient capacity. | |
| KOKKOS_FORCEINLINE_FUNCTION bool | freed_existing () const |
| KOKKOS_FORCEINLINE_FUNCTION uint32_t | list_position () const |
| KOKKOS_FORCEINLINE_FUNCTION uint32_t | index () const |
| Index where the key can be found as long as the insert did not fail. | |
First element of the return value of UnorderedMap::insert().
Inserting an element into an UnorderedMap is not guaranteed to succeed. There are three possible conditions:
Definition at line 59 of file Kokkos_UnorderedMap.hpp.
|
inline |
Did the map successful insert the key/value pair.
Definition at line 71 of file Kokkos_UnorderedMap.hpp.
|
inline |
Was the key already present in the map.
Definition at line 75 of file Kokkos_UnorderedMap.hpp.
|
inline |
Did the map fail to insert the key due to insufficient capacity.
Definition at line 79 of file Kokkos_UnorderedMap.hpp.
|
inline |
Did the map lose a race condition to insert a dupulicate key/value pair where an index was claimed that needed to be released
Definition at line 84 of file Kokkos_UnorderedMap.hpp.
|
inline |
How many iterations through the insert loop did it take before the map returned
Definition at line 89 of file Kokkos_UnorderedMap.hpp.
|
inline |
Index where the key can be found as long as the insert did not fail.
Definition at line 93 of file Kokkos_UnorderedMap.hpp.