mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Demangle Travseral and Unrolling in Redux
This commit is contained in:
parent
c696dbcaa6
commit
bac36d0996
@ -81,10 +81,9 @@ public:
|
|||||||
EIGEN_DEBUG_VAR(MightVectorize)
|
EIGEN_DEBUG_VAR(MightVectorize)
|
||||||
EIGEN_DEBUG_VAR(MayLinearVectorize)
|
EIGEN_DEBUG_VAR(MayLinearVectorize)
|
||||||
EIGEN_DEBUG_VAR(MaySliceVectorize)
|
EIGEN_DEBUG_VAR(MaySliceVectorize)
|
||||||
EIGEN_DEBUG_VAR(Traversal)
|
std::cerr << "Traversal" << " = " << Traversal << " (" << demangle_traversal(Traversal) << ")" << std::endl;
|
||||||
EIGEN_DEBUG_VAR(UnrollingLimit)
|
EIGEN_DEBUG_VAR(UnrollingLimit)
|
||||||
|
std::cerr << "Unrolling" << " = " << Unrolling << " (" << demangle_unrolling(Unrolling) << ")" << std::endl;
|
||||||
EIGEN_DEBUG_VAR(Unrolling)
|
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -411,7 +410,7 @@ DenseBase<Derived>::redux(const Func& func) const
|
|||||||
|
|
||||||
typedef typename internal::redux_evaluator<Derived> ThisEvaluator;
|
typedef typename internal::redux_evaluator<Derived> ThisEvaluator;
|
||||||
ThisEvaluator thisEval(derived());
|
ThisEvaluator thisEval(derived());
|
||||||
|
|
||||||
// The initial expression is passed to the reducer as an additional argument instead of
|
// The initial expression is passed to the reducer as an additional argument instead of
|
||||||
// passing it as a member of redux_evaluator to help
|
// passing it as a member of redux_evaluator to help
|
||||||
return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
|
return internal::redux_impl<Func, ThisEvaluator>::run(thisEval, func, derived());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user