Disable posix_memalign on Solaris and SunOS, and allows to by-pass built-in posix_memalign detection rules.

This commit is contained in:
Gael Guennebaud
2015-04-24 11:26:51 +02:00
parent 1681a665d9
commit de18cd413d
3 changed files with 29 additions and 11 deletions

View File

@@ -87,6 +87,9 @@ run time. However, these assertions do cost time and can thus be turned off.
- \b EIGEN_STACK_ALLOCATION_LIMIT - defines the maximum bytes for a buffer to be allocated on the stack. For internal
temporary buffers, dynamic memory allocation is employed as a fall back. For fixed-size matrices or arrays, exceeding
this threshold raises a compile time assertion. Use 0 to set no limit. Default is 128 KB.
- \b EIGEN_HAS_POSIX_MEMALIGN - defines whether aligned memory allocation can be performed through the \c posix_memalign
function. The availability of \c posix_memalign is automatically checked on most platform, but this option allows to
by-pass %Eigen's built-in rules.
\section TopicPreprocessorDirectivesPlugins Plugins