Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrguthrie3 <rguthrie6595@gmail.com>2016-08-14 06:14:28 +0300
committerSoumith Chintala <soumith@gmail.com>2017-02-23 13:11:44 +0300
commit0a9d7903964aa0039dba8993c9548596552d4ed5 (patch)
tree57222174daa3f24a12433cb7fe94838508c701e6 /CMakeLists.txt
parentb81722ce43b17eb1c4fa598924b6bfd49bc87c70 (diff)
Fast floating point add kernel in intrinsics (11x speedup over default for 10k elements)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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)