Implements a host/device-callable hash function for supported types, and passes through to std::hash otherwise.
More...
template<typename T>
class axom::DeviceHash< T >
Implements a host/device-callable hash function for supported types, and passes through to std::hash otherwise.
The result type is always std::uint64_t, independent of the configured axom::IndexType width. Hashes feed bit mixers and bucket selection, where truncating wide keys (e.g. 64-bit Morton codes) to a 32-bit IndexType before mixing would make keys equal mod 2^32 collide.