DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::utils::MemoryTransfer< memorySpaceDst, memorySpaceSrc > Class Template Reference

#include <MemoryTransfer.h>

Static Public Member Functions

template<typename ValueType>
static void copy (std::size_t size, ValueType *dst, const ValueType *src)
 Copy array from the memory space of source to the memory space of destination.
 

Member Function Documentation

◆ copy()

template<MemorySpace memorySpaceDst, MemorySpace memorySpaceSrc>
template<typename ValueType>
static void dftfe::utils::MemoryTransfer< memorySpaceDst, memorySpaceSrc >::copy ( std::size_t size,
ValueType * dst,
const ValueType * src )
static

Copy array from the memory space of source to the memory space of destination.

Parameters
sizethe length of the array
dstpointer to the destination
srcpointer to the source

The documentation for this class was generated from the following file: