Remove O3 from cmake complie flags
This commit is contained in:
@@ -9,7 +9,7 @@ add_library(SaftATT SHARED ./src/SAFT_ATT.cpp ./src/saft.cu ./src/processAScans.
|
|||||||
target_include_directories(SaftATT PRIVATE ./src /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
target_include_directories(SaftATT PRIVATE ./src /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
||||||
set_target_properties(SaftATT PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
set_target_properties(SaftATT PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
||||||
target_compile_options(SaftATT PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
target_compile_options(SaftATT PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
||||||
-O3
|
# -O3
|
||||||
--compiler-options -fPIC
|
--compiler-options -fPIC
|
||||||
--use_fast_math
|
--use_fast_math
|
||||||
--ptxas-options=-v
|
--ptxas-options=-v
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ add_library(SaftTofi SHARED ./src/SAFT_TOFI.cpp ./src/saft.cu ./src/processAScan
|
|||||||
target_include_directories(SaftTofi PRIVATE ./src /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
target_include_directories(SaftTofi PRIVATE ./src /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
||||||
set_target_properties(SaftTofi PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
set_target_properties(SaftTofi PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
||||||
target_compile_options(SaftTofi PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
target_compile_options(SaftTofi PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
||||||
-O3
|
|
||||||
--compiler-options -fPIC
|
--compiler-options -fPIC
|
||||||
--use_fast_math
|
--use_fast_math
|
||||||
--ptxas-options=-v
|
--ptxas-options=-v
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ add_library(TVALGPU SHARED ./src/tval3gpu3d.cpp ./src/tval3.cu )
|
|||||||
target_include_directories(TVALGPU PRIVATE ./include /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
target_include_directories(TVALGPU PRIVATE ./include /usr/local/cuda/include /usr/local/Polyspace/R2019b/extern/include)
|
||||||
set_target_properties(TVALGPU PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
set_target_properties(TVALGPU PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
||||||
target_compile_options(TVALGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
target_compile_options(TVALGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
||||||
-O3
|
|
||||||
--compiler-options -fPIC
|
--compiler-options -fPIC
|
||||||
--use_fast_math
|
--use_fast_math
|
||||||
--ptxas-options=-v
|
--ptxas-options=-v
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ target_include_directories(eikonalGPU PRIVATE src/ /usr/local/cuda/include)
|
|||||||
set_target_properties(eikonalGPU
|
set_target_properties(eikonalGPU
|
||||||
PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
|
||||||
target_compile_options(eikonalGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
target_compile_options(eikonalGPU PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
|
||||||
-O3
|
|
||||||
--compiler-options -fPIC
|
--compiler-options -fPIC
|
||||||
--use_fast_math
|
--use_fast_math
|
||||||
--ptxas-options=-v
|
--ptxas-options=-v
|
||||||
|
|||||||
Reference in New Issue
Block a user