mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-19 23:19:08 +08:00
asm escape was not strong enough to prevent too aggressive compiler optimization let's fallback to no-inline.
This commit is contained in:
parent
b74e45906c
commit
dacc544b84
@ -12,12 +12,13 @@ using namespace Eigen;
|
||||
typedef SCALAR Scalar;
|
||||
|
||||
template<typename MatA, typename MatB, typename MatC>
|
||||
inline void lazy_gemm(const MatA &A, const MatB &B, MatC &C)
|
||||
EIGEN_DONT_INLINE
|
||||
void lazy_gemm(const MatA &A, const MatB &B, MatC &C)
|
||||
{
|
||||
escape((void*)A.data());
|
||||
escape((void*)B.data());
|
||||
// escape((void*)A.data());
|
||||
// escape((void*)B.data());
|
||||
C.noalias() += A.lazyProduct(B);
|
||||
escape((void*)C.data());
|
||||
// escape((void*)C.data());
|
||||
}
|
||||
|
||||
template<int m, int n, int k, int TA>
|
||||
|
Loading…
x
Reference in New Issue
Block a user