tDo not explicitly set GCC version - sphere - GPU-based 3D discrete element met… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit eced4af1ee7b969c73fdec8d5e96f9599e031ff8 | |
parent deaaaf015faf527e6e8e39d40e77ce5647659d03 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 4 Nov 2019 09:59:23 +0100 | |
Do not explicitly set GCC version | |
Diffstat: | |
M src/CMakeLists.txt | 6 ++++-- | |
1 file changed, 4 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | |
t@@ -19,13 +19,15 @@ INCLUDE(FindCUDA) | |
# NOTE: Multiple arguments must be semi-colon selimited | |
IF (GPU_GENERATION EQUAL 1) # Kepler | |
SET(CUDA_NVCC_FLAGS | |
- "--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35\… | |
+ "--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35\… | |
+ #"--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35… | |
#"--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35… | |
#"--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35… | |
#"--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35… | |
ELSE() # Fermi | |
SET(CUDA_NVCC_FLAGS | |
- "--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\… | |
+ "--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\… | |
+ #"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20… | |
#"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20… | |
#"--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20… | |
ENDIF (GPU_GENERATION EQUAL 1) |