Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd -fPIC compiler flag - sphere - GPU-based 3D discrete element method algori…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit cffa93765d7abff98555ac4d4d63ef6e4ea5c97b
parent 76c61faa7b321c49b02d819efdf4b4b891ca8ff6
Author: Anders Damsgaard <[email protected]>
Date: Wed, 6 Sep 2017 13:45:31 -0700
add -fPIC compiler flag
Diffstat:
M src/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
t@@ -22,6 +22,7 @@ ELSE() # Fermi
#"--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(CMAKE_CXX_FLAGS "-fPIC ${CMAKE_CXX_FLAGS}")
# Rule to build executable program
CUDA_ADD_EXECUTABLE(sphere
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.