1 #ifndef HeterogeneousCore_AlpakaInterface_interface_AtomicPairCounter_h 2 #define HeterogeneousCore_AlpakaInterface_interface_AtomicPairCounter_h 6 #include <alpaka/alpaka.hpp> 31 template <
typename TAcc>
37 return ret.as_counters;
41 template <
typename TAcc>
43 return add(acc, {1u,
i});
60 return ret.as_doubleword;
68 #endif // HeterogeneousCore_AlpakaInterface_interface_AtomicPairCounter_h
ret
prodAgent to be discontinued
U second(std::pair< T, U > const &p)
std::vector< Block > Blocks
unsigned long long uint64_t
T1 atomicAdd(T1 *a, T2 b)