Loading src/TNL/Containers/Algorithms/PrefixSum.hpp +2 −3 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <TNL/Containers/Algorithms/ReductionOperations.h> #include <TNL/Containers/Algorithms/ArrayOperations.h> #include <TNL/Containers/Algorithms/CudaPrefixSumKernel.h> #include <TNL/Exceptions/NotImplementedError.h> #ifdef CUDA_REDUCTION_PROFILING #include <iostream> Loading Loading @@ -167,7 +168,7 @@ perform( Vector& v, using IndexType = typename Vector::IndexType; using IndexType = typename Vector::IndexType; #ifdef HAVE_CUDA throw 0; // NOT IMPLEMENTED YET throw Exceptions::NotImplementedError( "Segmented prefix sum is not implemented for CUDA." ); // NOT IMPLEMENTED YET /*CudaPrefixSumKernelLauncher< Type, RealType, IndexType >::start( ( IndexType ) ( end - begin ), ( IndexType ) 256, Loading @@ -179,8 +180,6 @@ perform( Vector& v, #endif } } // namespace Algorithms } // namespace Containers } // namespace TNL src/TNL/Containers/Vector.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ #pragma once #include <TNL/Containers/Vector.h> #include <TNL/Exceptions/NotImplementedError.h> namespace TNL { namespace Containers { Loading Loading @@ -394,7 +395,7 @@ void Vector< Real, Device, Index >:: prefixSum( const VectorExpression& expression, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } template< typename Real, Loading @@ -407,7 +408,7 @@ void Vector< Real, Device, Index >:: segmentedPrefixSum( const VectorExpression& expression, FlagsArray& flags, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } } // namespace Containers Loading src/TNL/Containers/VectorView.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <TNL/Containers/Algorithms/VectorOperations.h> #include <TNL/Containers/VectorViewExpressions.h> #include <TNL/Containers/Algorithms/VectorAssignment.h> #include <TNL/Exceptions/NotImplementedError.h> namespace TNL { namespace Containers { Loading Loading @@ -411,7 +412,7 @@ void VectorView< Real, Device, Index >:: prefixSum( const VectorExpression& expression, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } template< typename Real, Loading @@ -424,7 +425,7 @@ void VectorView< Real, Device, Index >:: segmentedPrefixSum( const VectorExpression& expression, FlagsArray& flags, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } } // namespace Containers Loading Loading
src/TNL/Containers/Algorithms/PrefixSum.hpp +2 −3 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <TNL/Containers/Algorithms/ReductionOperations.h> #include <TNL/Containers/Algorithms/ArrayOperations.h> #include <TNL/Containers/Algorithms/CudaPrefixSumKernel.h> #include <TNL/Exceptions/NotImplementedError.h> #ifdef CUDA_REDUCTION_PROFILING #include <iostream> Loading Loading @@ -167,7 +168,7 @@ perform( Vector& v, using IndexType = typename Vector::IndexType; using IndexType = typename Vector::IndexType; #ifdef HAVE_CUDA throw 0; // NOT IMPLEMENTED YET throw Exceptions::NotImplementedError( "Segmented prefix sum is not implemented for CUDA." ); // NOT IMPLEMENTED YET /*CudaPrefixSumKernelLauncher< Type, RealType, IndexType >::start( ( IndexType ) ( end - begin ), ( IndexType ) 256, Loading @@ -179,8 +180,6 @@ perform( Vector& v, #endif } } // namespace Algorithms } // namespace Containers } // namespace TNL
src/TNL/Containers/Vector.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ #pragma once #include <TNL/Containers/Vector.h> #include <TNL/Exceptions/NotImplementedError.h> namespace TNL { namespace Containers { Loading Loading @@ -394,7 +395,7 @@ void Vector< Real, Device, Index >:: prefixSum( const VectorExpression& expression, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } template< typename Real, Loading @@ -407,7 +408,7 @@ void Vector< Real, Device, Index >:: segmentedPrefixSum( const VectorExpression& expression, FlagsArray& flags, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } } // namespace Containers Loading
src/TNL/Containers/VectorView.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <TNL/Containers/Algorithms/VectorOperations.h> #include <TNL/Containers/VectorViewExpressions.h> #include <TNL/Containers/Algorithms/VectorAssignment.h> #include <TNL/Exceptions/NotImplementedError.h> namespace TNL { namespace Containers { Loading Loading @@ -411,7 +412,7 @@ void VectorView< Real, Device, Index >:: prefixSum( const VectorExpression& expression, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } template< typename Real, Loading @@ -424,7 +425,7 @@ void VectorView< Real, Device, Index >:: segmentedPrefixSum( const VectorExpression& expression, FlagsArray& flags, const IndexType begin, const IndexType end ) { throw Exceptions::NotImplementedError( "Prefix sum with vector expressions is not implemented." ); } } // namespace Containers Loading