Bugzilla – Attachment 928 Details for
Bug 1680
More VS EIGEN_STRONG_INLINE and VS code performance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
[patch]
even more strong inlining
more_inlining.patch (text/plain), 1.97 KB, created by
neumann
on 2019-02-15 13:49:17 UTC
(
hide
)
Description:
even more strong inlining
Filename:
MIME Type:
Creator:
neumann
Created:
2019-02-15 13:49:17 UTC
Size:
1.97 KB
patch
obsolete
>diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h >index 102242341..b68124fb8 100644 >--- a/Eigen/src/Core/CoreEvaluators.h >+++ b/Eigen/src/Core/CoreEvaluators.h >@@ -302,7 +302,7 @@ struct unary_evaluator<Transpose<ArgType>, IndexBased> > Alignment = evaluator<ArgType>::Alignment > }; > >- EIGEN_DEVICE_FUNC explicit unary_evaluator(const XprType& t) : m_argImpl(t.nestedExpression()) {} >+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit unary_evaluator(const XprType& t) : m_argImpl(t.nestedExpression()) {} > > typedef typename XprType::Scalar Scalar; > typedef typename XprType::CoeffReturnType CoeffReturnType; >@@ -1052,7 +1052,7 @@ struct evaluator<Block<ArgType, BlockRows, BlockCols, InnerPanel> > > Alignment = EIGEN_PLAIN_ENUM_MIN(evaluator<ArgType>::Alignment, Alignment0) > }; > typedef block_evaluator<ArgType, BlockRows, BlockCols, InnerPanel> block_evaluator_type; >- EIGEN_DEVICE_FUNC explicit evaluator(const XprType& block) : block_evaluator_type(block) >+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit evaluator(const XprType& block) : block_evaluator_type(block) > { > EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); > } >@@ -1065,7 +1065,7 @@ struct block_evaluator<ArgType, BlockRows, BlockCols, InnerPanel, /*HasDirectAcc > { > typedef Block<ArgType, BlockRows, BlockCols, InnerPanel> XprType; > >- EIGEN_DEVICE_FUNC explicit block_evaluator(const XprType& block) >+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit block_evaluator(const XprType& block) > : unary_evaluator<XprType>(block) > {} > }; >@@ -1076,7 +1076,7 @@ struct unary_evaluator<Block<ArgType, BlockRows, BlockCols, InnerPanel>, IndexBa > { > typedef Block<ArgType, BlockRows, BlockCols, InnerPanel> XprType; > >- EIGEN_DEVICE_FUNC explicit unary_evaluator(const XprType& block) >+ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit unary_evaluator(const XprType& block) > : m_argImpl(block.nestedExpression()), > m_startRow(block.startRow()), > m_startCol(block.startCol()),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1680
:
925
|
926
|
927
| 928 |
929
|
930
|
931