diff options
author | rguthrie3 <rguthrie6595@gmail.com> | 2016-08-14 06:14:28 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2017-02-23 13:11:44 +0300 |
commit | 0a9d7903964aa0039dba8993c9548596552d4ed5 (patch) | |
tree | 57222174daa3f24a12433cb7fe94838508c701e6 /CMakeLists.txt | |
parent | b81722ce43b17eb1c4fa598924b6bfd49bc87c70 (diff) |
Fast floating point add kernel in intrinsics (11x speedup over default for 10k elements)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 095a721..ef538a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ IF (NOT MSVC) IF (MINGW) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=format") ELSE() - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=implicit-function-declaration -Werror=format") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=implicit-function-declaration -Werror=format -march=haswell -mavx") ENDIF(MINGW) ENDIF(NOT MSVC) |