summarylogtreecommitdiffstats
path: root/cuda.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.psmp
parent13422489ac6a975b6848bfe9400477e6a5a0f73c (diff)
downloadaur-a54bc244a459aacb4ba1736906e518645dd22ed9.tar.gz
Fixed flags, added CUDA architectures
Diffstat (limited to 'cuda.psmp')
-rw-r--r--cuda.psmp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cuda.psmp b/cuda.psmp
index 6e9754e124b5..229fd2d0a490 100644
--- a/cuda.psmp
+++ b/cuda.psmp
@@ -32,14 +32,18 @@ FCFLAGS = $(DFLAGS) $(INCS) $(OPTFLAGS) \
-ffree-form -ffree-line-length-none \
-fallow-argument-mismatch \
-fno-tree-loop-vectorize
+
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)