diff options
author | a.kudelin | 2020-11-06 16:26:10 +0300 |
---|---|---|
committer | a.kudelin | 2020-11-06 16:26:10 +0300 |
commit | a54bc244a459aacb4ba1736906e518645dd22ed9 (patch) | |
tree | 0ea1650868c4fc25343862b91f25db790492a28b /cuda.psmp | |
parent | 13422489ac6a975b6848bfe9400477e6a5a0f73c (diff) | |
download | aur-a54bc244a459aacb4ba1736906e518645dd22ed9.tar.gz |
Fixed flags, added CUDA architectures
Diffstat (limited to 'cuda.psmp')
-rw-r--r-- | cuda.psmp | 6 |
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) |