tchanged order of NVCC flags - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit dcc2ab859cc3baaf0e40a897b221081f8e52364b
DIR parent ca4c45e37ce173a2030edbd7f20dcbc0663d5316
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 4 Oct 2013 14:40:02 +0200
changed order of NVCC flags
Diffstat:
M src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
t@@ -14,10 +14,10 @@ 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_20,code=\"sm_20,compute_20\";--fmad=false -ccbin gcc-4.6")
+ "--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35\";--fmad=false -ccbin gcc-4.6")
ELSE() # Fermi
SET(CUDA_NVCC_FLAGS
- "--use_fast_math;-O3;-gencode=arch=compute_35,code=\"sm_35,compute_35\";--fmad=false -ccbin gcc-4.6")
+ "--use_fast_math;-O3;-gencode=arch=compute_20,code=\"sm_20,compute_20\";--fmad=false -ccbin gcc-4.6")
ENDIF (GPU_GENERATION EQUAL 1)
# Rule to build executable program