Commit e538e3d5 authored by Jean-Matthieu Gallard's avatar Jean-Matthieu Gallard
Browse files

KernelGen Eigen - add preprocessor macro to optimize Eigen behavior

parent bae0657b
......@@ -65,6 +65,9 @@ _mm_free({{name}});
#include <xmmintrin.h>
{% endif %}
{% if useEigen %}
// defines for Eigen
#define EIGEN_DONT_PARALLELIZE
#define EIGEN_NO_DEBUG
// include Eigen for matmul
#include <{{pathToOptKernel}}/Eigen/Dense>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment