Set GMX_SIMD to MIC for Xeon Phi
[alexxy/gromacs.git] / cmake / gmxDetectSimd.cmake
index 49fa77a1fcced9b6d45b15bc022d0999578222a2..881086d63a5f2c9acf7affab0f2d4a2a7e541cdf 100644 (file)
@@ -98,6 +98,8 @@ function(gmx_detect_simd _suggested_simd)
             # HPC-ACE is always present. In the future we
             # should add detection for HPC-ACE2 here.
             set(${_suggested_simd} "Sparc64_HPC_ACE")
+        elseif(GMX_TARGET_MIC)
+            set(${_suggested_simd} "MIC")
         elseif(GMX_TARGET_X86)
             gmx_suggest_x86_simd(${_suggested_simd})
         else()