diff --git a/src/Grid/Geometry/grid_smb.hpp b/src/Grid/Geometry/grid_smb.hpp index c6f6c377069a49b4c93e695f59fd075d0a67c89a..092eac1c1d48a3e55184bfb672e67c32cfc379de 100644 --- a/src/Grid/Geometry/grid_smb.hpp +++ b/src/Grid/Geometry/grid_smb.hpp @@ -342,6 +342,11 @@ public: return sz; } + __host__ __device__ inline indexT getBlockEgdeSize() const + { + return blockEdgeSize; + } + __host__ __device__ inline indexT getBlockSize() const { return blockSize; diff --git a/src/Grid/Geometry/grid_zmb.hpp b/src/Grid/Geometry/grid_zmb.hpp index ebd649df20eac7b5eac906121515147739240b13..238ca3912b2a7f066b0eaf6c0300d2be781afccb 100644 --- a/src/Grid/Geometry/grid_zmb.hpp +++ b/src/Grid/Geometry/grid_zmb.hpp @@ -141,6 +141,11 @@ public: grid_smb<dim,blockEdgeSize,indexT>::swap(other); } + __host__ __device__ inline indexT getBlockEgdeSize() const + { + return blockEdgeSize; + } + __host__ __device__ inline indexT size() const { return grid_smb<dim,blockEdgeSize,indexT>::size(); diff --git a/src/SparseGridGpu/SparseGridGpu.hpp b/src/SparseGridGpu/SparseGridGpu.hpp index 1d6f32b7a979ed16d4ac0eb067116432de165d96..1b7f149d92d98a2bbc514929e1379bc25c266bb7 100644 --- a/src/SparseGridGpu/SparseGridGpu.hpp +++ b/src/SparseGridGpu/SparseGridGpu.hpp @@ -1047,6 +1047,7 @@ private: } + template <typename stencil, typename... Args> void applyStencilInPlaceNoShared(const Box<dim,int> & box, StencilMode & mode,Args... args) { @@ -1797,6 +1798,11 @@ public: void setMemory() {} + auto insertBlockFlush(size_t block) -> decltype(BMG::insertBlockFlush(block)) + { + return BMG::insertBlockFlush(block); + } + /*! \brief Return the grid information object * * \return grid information object