Remove O3 from cmake complie flags

This commit is contained in:
kradchen
2023-05-30 13:04:08 +08:00
parent 14b00cbd39
commit 6f4db0077f
4 changed files with 2 additions and 5 deletions

View File

@@ -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)
set_target_properties(SaftATT PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
target_compile_options(SaftATT PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:
-O3
# -O3
--compiler-options -fPIC
--use_fast_math
--ptxas-options=-v