Set GMX_SIMD to MIC for Xeon Phi
authorRoland Schulz <roland@rschulz.eu>
Fri, 10 Oct 2014 07:10:15 +0000 (03:10 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 23 Nov 2014 16:48:43 +0000 (17:48 +0100)
commitba6052900a608663f8de733f9ea194ecd875339d
tree93ac304118527e3bbdd34f9daa1f709307a43285
parent4bfdff1a2b6b5a6f7fd15c9eacfd788e995c95c5
Set GMX_SIMD to MIC for Xeon Phi

The reason GMX_SIMD wasn't set the same wasy as it is for other architectures,
was that we wanted it to also work for offload. But for offload it is easy to
overwrite it for a compilation unit being offloaded. Setting it normally for
native mode makes it more consistent and lets the user disable SIMD.

Change-Id: Id660a6560278039673ce0a4feaea3261647f40e8
CMakeLists.txt
cmake/gmxDetectSimd.cmake
cmake/gmxTestSimd.cmake
src/config.h.cmakein
src/gromacs/gmxlib/copyrite.cpp
src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h
src/gromacs/mdlib/nbnxn_simd.h
src/gromacs/simd/simd.h