summarylogtreecommitdiffstats
path: root/cuda_plumed.psmp
diff options
context:
space:
mode:
authora.kudelin2020-11-06 16:26:10 +0300
committera.kudelin2020-11-06 16:26:10 +0300
commita54bc244a459aacb4ba1736906e518645dd22ed9 (patch)
tree0ea1650868c4fc25343862b91f25db790492a28b /cuda_plumed.psmp
parent13422489ac6a975b6848bfe9400477e6a5a0f73c (diff)
downloadaur-a54bc244a459aacb4ba1736906e518645dd22ed9.tar.gz
Fixed flags, added CUDA architectures
Diffstat (limited to 'cuda_plumed.psmp')
-rw-r--r--cuda_plumed.psmp7
1 files changed, 5 insertions, 2 deletions
diff --git a/cuda_plumed.psmp b/cuda_plumed.psmp
index 31a036ec791e..2f53e759ed92 100644
--- a/cuda_plumed.psmp
+++ b/cuda_plumed.psmp
@@ -24,7 +24,7 @@ INCS = -I/usr/include \
-I/usr/include/elpa_openmp-$(_elpaver)/modules \
-I/opt/cuda/include
-OPTFLAGS = -O2 -march=native -fopenmp
+OPTFLAGS = -O3 -march=native -fopenmp
CFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS)
CXXFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) -std=c++11
@@ -37,10 +37,13 @@ NVFLAGS = $(DFLAGS) -O3 -Xcompiler="-fopenmp" \
-gencode arch=compute_35,code=sm_35 \
-gencode arch=compute_37,code=sm_37 \
-gencode arch=compute_50,code=sm_50 \
+ -gencode arch=compute_52,code=sm_52 \
-gencode arch=compute_60,code=sm_60 \
-gencode arch=compute_61,code=sm_61 \
-gencode arch=compute_70,code=sm_70 \
- -gencode arch=compute_75,code=sm_75
+ -gencode arch=compute_75,code=sm_75 \
+ -gencode arch=compute_80,code=sm_80 \
+ -gencode arch=compute_86,code=sm_86
LDFLAGS = $(FCFLAGS)