Removed flush-to-zero flags from kernel compilation. No significant effect on performance but may affect accuracy in some cases

This commit is contained in:
jpekkila
2019-12-14 07:22:14 +02:00
parent 6b38ef461a
commit 164d11bfca

View File

@@ -11,7 +11,7 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")
# Require CUDA # Require CUDA
find_package(CUDA REQUIRED) find_package(CUDA REQUIRED)
set(CMAKE_CUDA_FLAGS "-gencode arch=compute_70,code=sm_70 -ftz=true --restrict") set(CMAKE_CUDA_FLAGS "-gencode arch=compute_70,code=sm_70 --restrict")
# Compile kernels # Compile kernels
add_library(astaroth_kernels STATIC kernels/boundconds.cu kernels/integration.cu kernels/reductions.cu) add_library(astaroth_kernels STATIC kernels/boundconds.cu kernels/integration.cu kernels/reductions.cu)