Go to the documentation of this file.
18 #ifndef viskores_exec_arg_FetchTagKeysIn_h
19 #define viskores_exec_arg_FetchTagKeysIn_h
43 template <
typename KeyPortalType,
typename IdPortalType,
typename IdComponentPortalType>
47 viskores::exec::internal::ReduceByKeyLookup<KeyPortalType, IdPortalType, IdComponentPortalType>>
49 using ExecObjectType =
50 viskores::exec::internal::ReduceByKeyLookup<KeyPortalType, IdPortalType, IdComponentPortalType>;
52 using ValueType =
typename ExecObjectType::KeyType;
55 template <
typename ThreadIndicesType>
58 return keys.UniqueKeys.Get(indices.GetInputIndex());
61 template <
typename ThreadIndicesType>
71 #endif //viskores_exec_arg_FetchTagKeysIn_h
#define VISKORES_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:61
Fetch tag for getting key values in a reduce by key.
Definition: FetchTagKeysIn.h:39
typename ExecObjectType::ValueType ValueType
The type of value to load and store.
Definition: Fetch.h:66
Class for loading and storing values in thread instance.
Definition: Fetch.h:57
Groups connected points that have the same field value.
Definition: Atomic.h:27
void Store(const ThreadIndicesType &indices, const ExecObjectType &execObject, const ValueType &value) const
Store data from a work instance.
Aspect tag to use for default load/store of data.
Definition: AspectTagDefault.h:30
ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &execObject) const
Load data for a work instance.
#define VISKORES_EXEC
Definition: ExportMacros.h:59