diff options
author | Soumith Chintala <soumith@gmail.com> | 2017-01-01 09:06:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-01 09:06:18 +0300 |
commit | 6bfc00883d5478d2631f1e21cc41e476111362bb (patch) | |
tree | fa39deb9b929fec6e1a4baefb6afaa7a0dad820b /CMakeLists.txt | |
parent | 84418838f0e4342a8a243293c70dbc8f080f0e9a (diff) |
Revert "TH_GENERIC_USE_HALF=1 by default, half enabled by default"revert-888-halfgeneric
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 611258b..fb2de09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,8 @@ IF(MSVC) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE=1) ENDIF(MSVC) +ADD_DEFINITIONS(-DTH_GENERIC_USE_HALF=1) + # OpenMP support? SET(WITH_OPENMP ON CACHE BOOL "OpenMP support if available?") IF (APPLE AND CMAKE_COMPILER_IS_GNUCC) |