Eigen supports OpenMP for some matrix operations
It asks the user to set the -fopenmp
flag on the compiler. When using RcppEigen and sourceCpp(), I see options like -DNDEBUG and -O2 optimization flags being passed, but I don't see -fopenmp. Is there a function that exposes this flag when compiling RcppEigen code?