Skip to content
Snippets Groups Projects
Commit 452dcef9 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Tuning CUDA traversers.

parent 4af1f339
No related branches found
No related tags found
No related merge requests found
......@@ -120,8 +120,7 @@ class tnlNeighbourGridEntitiesStorage
const typename GridEntity::GridType::IndexType& entityIndex )
{
BaseType::refresh( grid, entityIndex );
};
};
};
#endif /* TNLNEIGHBOURGRIDENTIESSTORAGE_H */
......
......@@ -356,8 +356,8 @@ heatEquationTemplatedCompact( const GridType* grid,
coordinates.x() = begin.x() + ( gridXIdx * tnlCuda::getMaxGridSize() + blockIdx.x ) * blockDim.x + threadIdx.x;
coordinates.y() = begin.y() + ( gridYIdx * tnlCuda::getMaxGridSize() + blockIdx.y ) * blockDim.y + threadIdx.y;
TestEntity< GridType > entity( *grid, coordinates, entityOrientation, entityBasis );
//GridEntity entity( *grid, coordinates, entityOrientation, entityBasis );
//TestEntity< GridType > entity( *grid, coordinates, entityOrientation, entityBasis );
GridEntity entity( *grid, coordinates, entityOrientation, entityBasis );
//const GridType* g = grid;
//MeshFunction& u = *_u;
......
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