tremove specific call to gcc-4.6 - sphere - GPU-based 3D discrete element metho… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 3bbfc4d96516a0d570ca27f40003bb31dba90183 | |
parent 70d01edd732349968b2caeaa5189894f7253b270 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 16 Feb 2016 10:20:14 -0800 | |
remove specific call to gcc-4.6 | |
Diffstat: | |
M src/CMakeLists.txt | 6 ++++-- | |
1 file changed, 4 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | |
t@@ -14,10 +14,12 @@ 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\… | |
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\… | |
ENDIF (GPU_GENERATION EQUAL 1) | |
# Rule to build executable program |