26#ifndef dftefeMPICommunicatorP2PKernels_h
27#define dftefeMPICommunicatorP2PKernels_h
37 template <
typename ValueType, dftefe::utils::MemorySpace memorySpace>
70 const ValueType * dataArray,
105 ValueType * dataArray);
108#ifdef DFTEFE_WITH_DEVICE
109 template <
typename ValueType>
119 & ownedLocalIndicesForTargetProcs,
126 const ValueType *dataArray,
128 & ghostLocalIndicesForGhostProcs,
138 & ownedLocalIndicesForTargetProcs,
150 ValueType * dataArray);
Definition: MPICommunicatorP2PKernels.h:39
static void accumAddLocallyOwnedContrRecvBufferFromTargetProcs(const MemoryStorage< ValueType, memorySpace > &recvBuffer, const SizeTypeVector &ownedLocalIndicesForTargetProcs, const size_type blockSize, MemoryStorage< ValueType, memorySpace > &dataArray)
Function template for architecture adaptable accumlate kernel from recv buffer.
Definition: MPICommunicatorP2PKernels.cpp:71
static void gatherLocallyGhostEntriesSendBufferToGhostProcs(const ValueType *dataArray, const SizeTypeVector &ghostLocalIndicesForGhostProcs, const size_type blockSize, MemoryStorage< ValueType, memorySpace > &sendBuffer)
Function template for architecture adaptable gather kernel to send buffer.
Definition: MPICommunicatorP2PKernels.cpp:56
static void insertLocalGhostValuesRecvBufferFromGhostProcs(const MemoryStorage< ValueType, memorySpace > &recvBuffer, const SizeTypeVector &ghostLocalIndices, const size_type blockSize, ValueType *dataArray)
Function template for architecture adaptable insert kernel from recv buffer.
Definition: MPICommunicatorP2PKernels.cpp:88
static void gatherLocallyOwnedEntriesSendBufferToTargetProcs(const MemoryStorage< ValueType, memorySpace > &dataArray, const SizeTypeVector &ownedLocalIndicesForTargetProcs, const size_type blockSize, MemoryStorage< ValueType, memorySpace > &sendBuffer)
Function template for architecture adaptable gather kernel to send buffer.
Definition: MPICommunicatorP2PKernels.cpp:39
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8