Eigen (C++ library): Difference between revisions

Line 8: Line 8:
For optimal performance, I recommend using the following flags when compiling.<br>
For optimal performance, I recommend using the following flags when compiling.<br>
====GCC====
====GCC====
*<code>-march=native</code> and <code>-mtune=native</code> if running only locally
*<code>-march=native</code> and <code>-mtune=native</code> if running only locally or <code>-march=skylake</code> if distributing to (Core ix-5000+) cpus.
**Otherwise, at a minimum
**Otherwise, at a minimum
**<code>-mfma</code> Enable fused multiply add
**<code>-mfma</code> Enable fused multiply add