From e41810188ca00c1442835da93bca7736225b6b23 Mon Sep 17 00:00:00 2001 From: Greg Eisenhauer Date: Wed, 8 Jun 2022 09:15:51 -0400 Subject: [PATCH] Fix cuda build --- source/adios2/helper/adiosMemory.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/adios2/helper/adiosMemory.inl b/source/adios2/helper/adiosMemory.inl index 116a1c941e..520ac4bca5 100644 --- a/source/adios2/helper/adiosMemory.inl +++ b/source/adios2/helper/adiosMemory.inl @@ -100,11 +100,11 @@ void CudaMemCopyFromBuffer(T *GPUbuffer, size_t position, const char *source, } static inline void NdCopyCUDA(const char *&inOvlpBase, char *&outOvlpBase, - Dims &inOvlpGapSize, Dims &outOvlpGapSize, - Dims &ovlpCount, size_t minContDim, + CoreDims &inOvlpGapSize, CoreDims &outOvlpGapSize, + CoreDims &ovlpCount, size_t minContDim, size_t blockSize) { - Dims pos(ovlpCount.size(), 0); + DimsArray pos(ovlpCount.size(), (size_t)0); size_t curDim = 0; while (true) {