Loading src/TNL/Containers/Segments/SlicedEllpack.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = begin + segmentSize; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx< end && compute; globalIdx++ ) for( IndexType globalIdx = begin; globalIdx< end; globalIdx++ ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading @@ -370,7 +370,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = sliceOffsets_view[ sliceIdx + 1 ]; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx < end && compute; globalIdx += SliceSize ) for( IndexType globalIdx = begin; globalIdx < end; globalIdx += SliceSize ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading src/TNL/Containers/Segments/SlicedEllpackView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = begin + segmentSize; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx< end && compute; globalIdx++ ) for( IndexType globalIdx = begin; globalIdx< end; globalIdx++ ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading @@ -322,7 +322,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = sliceOffsets_view[ sliceIdx + 1 ]; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx < end && compute; globalIdx += SliceSize ) for( IndexType globalIdx = begin; globalIdx < end; globalIdx += SliceSize ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading Loading
src/TNL/Containers/Segments/SlicedEllpack.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -354,7 +354,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = begin + segmentSize; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx< end && compute; globalIdx++ ) for( IndexType globalIdx = begin; globalIdx< end; globalIdx++ ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading @@ -370,7 +370,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = sliceOffsets_view[ sliceIdx + 1 ]; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx < end && compute; globalIdx += SliceSize ) for( IndexType globalIdx = begin; globalIdx < end; globalIdx += SliceSize ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading
src/TNL/Containers/Segments/SlicedEllpackView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -306,7 +306,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = begin + segmentSize; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx< end && compute; globalIdx++ ) for( IndexType globalIdx = begin; globalIdx< end; globalIdx++ ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading @@ -322,7 +322,7 @@ segmentsReduction( IndexType first, IndexType last, Fetch& fetch, Reduction& red const IndexType end = sliceOffsets_view[ sliceIdx + 1 ]; RealType aux( zero ); bool compute( true ); for( IndexType globalIdx = begin; globalIdx < end && compute; globalIdx += SliceSize ) for( IndexType globalIdx = begin; globalIdx < end; globalIdx += SliceSize ) reduction( aux, fetch( segmentIdx, globalIdx, compute, args... ) ); keeper( segmentIdx, aux ); }; Loading