|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Classes | |
| struct | ArrayTraits< Array< T, DIM, SPACE, StoragePolicy > > |
| class | DefaultStoragePolicy |
| Default storage policy for axom::Array. Uses Umpire to reallocate buffers. More... | |
| struct | ArrayTraits |
| class | ArraySubslice |
| Proxy class for efficiently constructing slice ArrayViews by using the generic ArrayBase constructor in ArrayView. This avoids the cost of looking up the correct allocator ID from the other ArrayView constructors. More... | |
| struct | SubsliceProxy |
| struct | SubsliceProxy< T, SliceDim, ArraySubslice< T, OldSliceDim, BaseArray > > |
| struct | SubsliceProxy< T, SliceDim, const ArraySubslice< T, OldSliceDim, BaseArray > > |
| struct | all_types_are_integral_impl |
| Indirection needed to dodge an MSVC compiler bug. More... | |
| struct | all_types_are_integral_impl< First, Rest... > |
| struct | all_types_are_integral |
| Checks if all types in a parameter pack are integral. More... | |
| struct | DeviceStagingBuffer |
| struct | ArrayOps |
| struct | ArrayTraits< ArraySubslice< T, SliceDim, BaseArray > > |
| struct | ArrayTraits< ArrayView< T, DIM, SPACE > > |
| struct | DeviceHashHelper |
| Default catch-all specialization. Passes through to std::hash. More... | |
| struct | DeviceHashHelper< T, std::enable_if_t< std::is_integral< T >::value > > |
| Specialization for integral types. More... | |
| struct | DeviceHashHelper< T, std::enable_if_t< std::is_floating_point< T >::value > > |
| Specialization for floating-point types. More... | |
| struct | DeviceHashHelper< T, std::enable_if_t< std::is_enum< T >::value > > |
| SFINAE specialization for enum types. More... | |
| struct | DeviceHashHelper< T *, void > |
| Specialization for pointer types. More... | |
| struct | SpinLock |
| class | KVPairIterator |
| Implements a zip-iterator concept for a key-value pair. More... | |
| class | FlatMapOffsetIterator |
| Iterator helper for iterating over filled buckets given an array of bucket indices. More... | |
| struct | TimedForAll |
| Default implementation for timing axom::for_all. More... | |
Functions | |
| template<typename T , int N> | |
| AXOM_HOST_DEVICE T | packProduct (const T(&arr)[N]) |
| template<typename T , int N> | |
| bool | allNonNegative (const T(&arr)[N]) |
| template<int N, typename T , int DIM> | |
| AXOM_HOST_DEVICE StackArray< T, N > | takeLastElems (const StackArray< T, DIM > &arr) |
| Takes the last N elements from an array. More... | |
| template<typename ExecSpace > | |
| void | gatherFilledBuckets (ArrayView< flat_map::GroupBucket > group_metadata, ArrayView< IndexType > filled_bucket_indexes, IndexType num_buckets, int allocator_id) |
| Helper function to gather filled buckets within a FlatMap. More... | |
| template<MemorySpace SPACE> | |
| int | getAllocatorID () |
| Translates between the MemorySpace enum and Umpire allocator IDs. More... | |
| template<> | |
| int | getAllocatorID< MemorySpace::Dynamic > () |
| template<> | |
| int | getAllocatorID< MemorySpace::Malloc > () |
| MemorySpace | getAllocatorSpace (int allocatorId) |
| Return the Axom MemorySpace for the given Axom allocator id. More... | |
| AXOM_HOST_DEVICE T axom::detail::packProduct | ( | const T(&) | arr[N] | ) |
| bool axom::detail::allNonNegative | ( | const T(&) | arr[N] | ) |
| AXOM_HOST_DEVICE StackArray<T, N> axom::detail::takeLastElems | ( | const StackArray< T, DIM > & | arr | ) |
Takes the last N elements from an array.
| void axom::detail::gatherFilledBuckets | ( | ArrayView< flat_map::GroupBucket > | group_metadata, |
| ArrayView< IndexType > | filled_bucket_indexes, | ||
| IndexType | num_buckets, | ||
| int | allocator_id | ||
| ) |
Helper function to gather filled buckets within a FlatMap.
Workaround for a limitation within CUDA where a lambda cannot be defined in a protected or private member function.
References AXOM_LAMBDA, and getAllocatorSpace().
|
inline |
Translates between the MemorySpace enum and Umpire allocator IDs.
|
inline |
References axom::getDefaultAllocatorID().
|
inline |
References axom::MALLOC_ALLOCATOR_ID.
|
inline |
Return the Axom MemorySpace for the given Axom allocator id.
For Umpire allocator ids, the MemorySpace is the corresponding Axom memory space. For MALLOC_ALLOCATOR_ID, the MemorySpace is MemorySpace::Malloc. Other values have no corresponding MemorySpace and will cause an abort.
References axom::Dynamic, axom::Malloc, axom::MALLOC_ALLOCATOR_ID, and axom::utilities::processAbort().