Loading src/TNL/Containers/Algorithms/Reduction_impl.h +4 −4 Original line number Diff line number Diff line Loading @@ -213,9 +213,9 @@ reduce( Operation& operation, } // local reduction of unrolled results operation.commonReduction( r[ 0 ], r[ 1 ] ); operation.commonReduction( r[ 0 ], r[ 2 ] ); operation.commonReduction( r[ 0 ], r[ 3 ] ); operation.commonReduction( r[ 1 ], r[ 3 ] ); operation.commonReduction( r[ 0 ], r[ 1 ] ); // inter-thread reduction of local results #pragma omp critical Loading Loading @@ -250,9 +250,9 @@ reduce( Operation& operation, operation.firstReduction( r[ 0 ], i, input1, input2 ); // reduction of unrolled results operation.commonReduction( r[ 0 ], r[ 1 ] ); operation.commonReduction( r[ 0 ], r[ 2 ] ); operation.commonReduction( r[ 0 ], r[ 3 ] ); operation.commonReduction( r[ 1 ], r[ 3 ] ); operation.commonReduction( r[ 0 ], r[ 1 ] ); return r[ 0 ]; } Loading Loading
src/TNL/Containers/Algorithms/Reduction_impl.h +4 −4 Original line number Diff line number Diff line Loading @@ -213,9 +213,9 @@ reduce( Operation& operation, } // local reduction of unrolled results operation.commonReduction( r[ 0 ], r[ 1 ] ); operation.commonReduction( r[ 0 ], r[ 2 ] ); operation.commonReduction( r[ 0 ], r[ 3 ] ); operation.commonReduction( r[ 1 ], r[ 3 ] ); operation.commonReduction( r[ 0 ], r[ 1 ] ); // inter-thread reduction of local results #pragma omp critical Loading Loading @@ -250,9 +250,9 @@ reduce( Operation& operation, operation.firstReduction( r[ 0 ], i, input1, input2 ); // reduction of unrolled results operation.commonReduction( r[ 0 ], r[ 1 ] ); operation.commonReduction( r[ 0 ], r[ 2 ] ); operation.commonReduction( r[ 0 ], r[ 3 ] ); operation.commonReduction( r[ 1 ], r[ 3 ] ); operation.commonReduction( r[ 0 ], r[ 1 ] ); return r[ 0 ]; } Loading