Loading src/Benchmarks/HeatEquationGrid/HeatmapTNLGridWithMemoryLoad/implementation.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ class Grid { public: __cuda_callable__ inline Entity<Size, Index, Real> getEntity(Index i, Index j) const { Entity<Size, Index, Real> entity; Entity<Size, Index, Real> entity(*this); entity.i = i; entity.j = j; Loading @@ -49,7 +49,7 @@ template<int Size, typename Index, typename Real> class Entity { public: __cuda_callable__ inline Entity() {}; Entity(const Grid<Size, Index, Real>& grid): grid(grid) {}; const Grid<Size, Index, Real>& grid; Loading src/TNL/Meshes/GridDetails/Grid2D.h +0 −8 Original line number Diff line number Diff line Loading @@ -38,14 +38,6 @@ class Grid<2, Real, Device, Index> : public NDimGrid<2, Real, Device, Index> { template <typename Entity> __cuda_callable__ inline Index getEntityIndex(const Entity& entity) const; /** * @brief Gets entity index using entity type. * \param entity Type of entity. * \tparam Entity Type of the entity. */ template <typename Entity> __cuda_callable__ inline Index getEntityIndex(const Entity& entity) const; /** * @brief Traverser all elements in rect */ Loading Loading
src/Benchmarks/HeatEquationGrid/HeatmapTNLGridWithMemoryLoad/implementation.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ class Grid { public: __cuda_callable__ inline Entity<Size, Index, Real> getEntity(Index i, Index j) const { Entity<Size, Index, Real> entity; Entity<Size, Index, Real> entity(*this); entity.i = i; entity.j = j; Loading @@ -49,7 +49,7 @@ template<int Size, typename Index, typename Real> class Entity { public: __cuda_callable__ inline Entity() {}; Entity(const Grid<Size, Index, Real>& grid): grid(grid) {}; const Grid<Size, Index, Real>& grid; Loading
src/TNL/Meshes/GridDetails/Grid2D.h +0 −8 Original line number Diff line number Diff line Loading @@ -38,14 +38,6 @@ class Grid<2, Real, Device, Index> : public NDimGrid<2, Real, Device, Index> { template <typename Entity> __cuda_callable__ inline Index getEntityIndex(const Entity& entity) const; /** * @brief Gets entity index using entity type. * \param entity Type of entity. * \tparam Entity Type of the entity. */ template <typename Entity> __cuda_callable__ inline Index getEntityIndex(const Entity& entity) const; /** * @brief Traverser all elements in rect */ Loading