Skip to content
Snippets Groups Projects
Commit 09d1ba7c authored by Simone Bna's avatar Simone Bna
Browse files

Added c++14 to compile flags to fix the ieee128 issue

parent 88c08e50
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,12 @@
# DEALINGS IN THE SOFTWARE.
#
# CUB is released in cuda 11. Using c++11 or c++14 fixed the ieee128 issue.
NVARCH ?= 70
all:
nvcc -O3 -I. -I${CUBROOT} --compiler-options='-fPIC' -arch=sm_${NVARCH} --shared FOAM2CSR.cu -o libFOAM2CSR.so
nvcc -O3 -I. -I${CUBROOT} -std=c++14 --compiler-options='-fPIC -std=c++14' -arch=sm_${NVARCH} --shared FOAM2CSR.cu -o libFOAM2CSR.so
clean:
rm -rf libFOAM2CSR.so
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment