mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Implement eval-at-once in evaluator.
- Add evaluator_traits with HasEvalTo flag, which is true if evaluator has evalTo() function. - Add AllAtOnce traversal, which calls evalTo() in evaluator. - If source evaluator in copy_using_evaluator has HasEvalTo set, then use AllAtOnce traversal.
This commit is contained in:
@@ -242,7 +242,9 @@ enum {
|
||||
* scalar loops to handle the unaligned boundaries */
|
||||
SliceVectorizedTraversal,
|
||||
/** \internal Special case to properly handle incompatible scalar types or other defecting cases*/
|
||||
InvalidTraversal
|
||||
InvalidTraversal,
|
||||
/** \internal Evaluate all entries at once */
|
||||
AllAtOnceTraversal
|
||||
};
|
||||
|
||||
/** \internal \ingroup enums
|
||||
|
||||
Reference in New Issue
Block a user