1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

MKL enable on Eigen if Grid is configured to use MKL

This commit is contained in:
Peter Boyle 2018-10-05 11:29:40 +01:00
parent 7c57cac670
commit b46d31d4b6

View File

@ -1,4 +1,9 @@
#pragma once #pragma once
// Force Eigen to use MKL if Grid has been configured with --enable-mkl
#ifdef USE_MKL
#define EIGEN_USE_MKL_ALL
#endif
#if defined __GNUC__ #if defined __GNUC__
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #pragma GCC diagnostic ignored "-Wdeprecated-declarations"