Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
remove definition when using f16c so nvcc can be turned off (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul003 authored and piiswrong committed May 1, 2018
1 parent 5da1d90 commit a8c650c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmake/mshadow.cmake
Expand Up @@ -70,7 +70,6 @@ if(NOT DEFINED SUPPORT_F16C AND NOT MSVC)
endif()

if(SUPPORT_F16C)
add_definitions(-DMSHADOW_USE_F16C=1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mf16c")
else()
add_definitions(-DMSHADOW_USE_F16C=0)
Expand Down

0 comments on commit a8c650c

Please sign in to comment.