Introduction
Introduction Statistics Contact Development Disclaimer Help
tsrc/CMakeLists.txt: remove arch and code specification - sphere - GPU-based 3D…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 75a51fc9ac35e999426be7aee9e30d474c358eb0
parent b8646f096438a38f9aafe4ff7df8566091963e01
Author: Anders Damsgaard <[email protected]>
Date: Mon, 11 Jan 2021 10:30:49 +0100
src/CMakeLists.txt: remove arch and code specification
cuda 11 warns of future removal of options
Diffstat:
M src/CMakeLists.txt | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
t@@ -17,20 +17,12 @@ INCLUDE(FindCUDA)
# Additional NVCC command line arguments
# 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…
-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…
-ENDIF (GPU_GENERATION EQUAL 1)
+SET(CUDA_NVCC_FLAGS
+ "--use_fast_math;-O3;--fmad=false -ccbin gcc")
+ #"--use_fast_math;-O3;--fmad=false -ccbin gcc-8.3")
+ #"--use_fast_math;-O3;--fmad=false -ccbin gcc-4.6")
+ #"--use_fast_math;-O3;--fmad=false -ccbin gcc;-Xcompiler -fPIC")
+ #"--use_fast_math;-O3;--fmad=false;-ccbin clang-3.8")
SET(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}")
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.