|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Functions | |
| template<typename ExecSpace > | |
| void | copyImpl (conduit::Node &dest, const conduit::Node &src, int destAllocatorID, bool destAllocatorForDevice) |
| Copies a Conduit tree in the src node to a new Conduit dest node, making sure to allocate array data in the appropriate memory space for the execution space. More... | |
| void axom::bump::utilities::internal::copyImpl | ( | conduit::Node & | dest, |
| const conduit::Node & | src, | ||
| int | destAllocatorID, | ||
| bool | destAllocatorForDevice | ||
| ) |
Copies a Conduit tree in the src node to a new Conduit dest node, making sure to allocate array data in the appropriate memory space for the execution space.
| ExecSpace | The destination execution space (e.g. axom::SEQ_EXEC). |
| dest | The conduit node that will receive the copied data. |
| src | The source data to be copied. |
| destAllocatorID | The allocator for the destination. It defaults to the allocator for ExecSpace. |
References axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::copy(), axom::getAllocatorIDFromPointer(), axom::INVALID_ALLOCATOR_ID, and axom::isDeviceAllocator().