26#ifndef dftefeDiscontiguousDataOperations_h
27#define dftefeDiscontiguousDataOperations_h
37 template <
typename ValueType, dftefe::utils::MemorySpace memorySpace>
150#ifdef DFTEFE_WITH_DEVICE
151 template <
typename ValueType>
222 copyToDiscontiguosMemory(
const ValueType *src,
257 addToDiscontiguosMemory(
const ValueType *src,
Definition: DiscontiguousDataOperations.h:39
static void copyToDiscontiguousMemory(const ValueType *src, ValueType *dst, const size_type *discontIds, const size_type N, const size_type nComponents)
Function to copy a source array x to a destination array y, where the source is accessed contiguously...
Definition: DiscontiguousDataOperations.cpp:58
utils::MemoryStorage< size_type, memorySpace > SizeTypeVector
Definition: DiscontiguousDataOperations.h:41
static void copyFromDiscontiguousMemory(const ValueType *src, ValueType *dst, const size_type *discontIds, const size_type N, const size_type nComponents)
Function to copy a source array x to a destination array y, where the source is accessed discontiguou...
Definition: DiscontiguousDataOperations.cpp:39
static void addToDiscontiguousMemory(const ValueType *src, ValueType *dst, const size_type *discontIds, const size_type N, const size_type nComponents)
Function to add a source array x to a destination array y, where the source is accessed contiguously ...
Definition: DiscontiguousDataOperations.cpp:77
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8