Commit 9bb000f4 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Renaming forEachSegment to forAllSegments.

parent 185599c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ namespace TNL
            void forSegments(IndexType begin, IndexType end, Function &&f) const;

            template <typename Function>
            void forEachSegment(Function &&f) const;
            void forAllSegments(Function &&f) const;

            /***
       * \brief Go over all segments and perform a reduction in each of them.
+2 −2
Original line number Diff line number Diff line
@@ -486,9 +486,9 @@ template< typename Device,
   template< typename Function >
void
BiEllpack< Device, Index, IndexAllocator, Organization, WarpSize >::
forEachSegment( Function&& f ) const
forAllSegments( Function&& f ) const
{
   this->getConstView().forEachSegment( f );
   this->getConstView().forAllSegments( f );
}


+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ class BiEllpackView
      void forSegments( IndexType begin, IndexType end, Function&& f ) const;

      template< typename Function >
      void forEachSegment( Function&& f ) const;
      void forAllSegments( Function&& f ) const;

      /***
       * \brief Go over all segments and perform a reduction in each of them.
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ template< typename Device,
   template< typename Function >
void
BiEllpackView< Device, Index, Organization, WarpSize >::
forEachSegment( Function&& f ) const
forAllSegments( Function&& f ) const
{
   this->forSegments( 0, this->getSegmentsCount(), f );
}
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ class CSR
      void forSegments( IndexType begin, IndexType end, Function&& f ) const;

      template< typename Function >
      void forEachSegment( Function&& f ) const;
      void forAllSegments( Function&& f ) const;

      /***
       * \brief Go over all segments and perform a reduction in each of them.
Loading