Loading Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_constructor_1.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_constructor_2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_forElements.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_forSegments.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading Documentation/Examples/Algorithms/Segments/SegmentsExample_General.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( IndexType globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; /*** * Compute sums of elements in particular segments. Loading Loading
Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_constructor_1.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading
Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_constructor_2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading
Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_forElements.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading
Documentation/Examples/Algorithms/Segments/SegmentsExample_CSR_forSegments.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( int globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; } int main( int argc, char* argv[] ) Loading
Documentation/Examples/Algorithms/Segments/SegmentsExample_General.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ void SegmentsExample() * Print the data managed by the segments. */ auto fetch = [=] __cuda_callable__ ( IndexType globalIdx ) -> double { return data_view[ globalIdx ]; }; printSegments( segments, fetch, std::cout ); std::cout << segments.print( fetch ) << std::endl; /*** * Compute sums of elements in particular segments. Loading