You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the test case from #64017, and modify Eigen to undefine EIGEN_ALLOCA after it is defined in Core/util/Memory.h
The diff is
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h
index f4217e261..6a8d2e738 100644
--- a/Eigen/src/Core/util/Memory.h
+++ b/Eigen/src/Core/util/Memory.h
@@ -680,6 +680,8 @@ template<typename T> EIGEN_DEVICE_FUNC T* smart_move(T* start, T* end, T* target
#undef EIGEN_ALLOCA
#endif
+#undef EIGEN_ALLOCA
+
// This helper class construct the allocated memory, and takes care of destructing and freeing the handled data
// at destruction time. In practice this helper class is mainly useful to avoid memory leak in case of exceptions.
template<typename T> class aligned_stack_memory_handler : noncopyable
The text was updated successfully, but these errors were encountered:
As mentioned at the end of #64017, if Eigen is modified to remove the dynamic stack allocation, another 'cannot select' error results
Use the test case from #64017, and modify Eigen to undefine
EIGEN_ALLOCA
after it is defined in Core/util/Memory.hThe diff is
The text was updated successfully, but these errors were encountered: