Skip to content
Snippets Groups Projects
Commit f61deb2e authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing load and save test + speed up load

parent 1dca92f5
No related branches found
No related tags found
No related merge requests found
Pipeline #6392 failed
......@@ -342,6 +342,11 @@ public:
return sz;
}
__host__ __device__ inline indexT getBlockEgdeSize() const
{
return blockEdgeSize;
}
__host__ __device__ inline indexT getBlockSize() const
{
return blockSize;
......
......@@ -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();
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment