Date: Thursday, November 3, 2022 @ 17:09:36
  Author: kgizdov
Revision: 1341657

updated CUDA arch's

Modified:
  opensubdiv/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-03 16:58:32 UTC (rev 1341656)
+++ PKGBUILD    2022-11-03 17:09:36 UTC (rev 1341657)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase <[email protected]>
 pkgname=opensubdiv
 pkgver=3.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An Open-Source subdivision surface library"
 arch=(x86_64)
 url="http://graphics.pixar.com/opensubdiv";
@@ -32,7 +32,20 @@
       -DNO_REGRESSION=ON \
       -DNO_TUTORIALS=ON \
       -DCMAKE_BUILD_TYPE=Release \
-      -DOSD_CUDA_NVCC_FLAGS='--gpu-architecture=compute_53' \
+      -DOSD_CUDA_NVCC_FLAGS="-gencode=arch=compute_52,code=sm_52 \
+                             -gencode=arch=compute_53,code=sm_53 \
+                             -gencode=arch=compute_60,code=sm_60 \
+                             -gencode=arch=compute_61,code=sm_61 \
+                             -gencode=arch=compute_62,code=sm_62 \
+                             -gencode=arch=compute_70,code=sm_70 \
+                             -gencode=arch=compute_72,code=sm_72 \
+                             -gencode=arch=compute_75,code=sm_75 \
+                             -gencode=arch=compute_80,code=sm_80 \
+                             -gencode=arch=compute_86,code=sm_86 \
+                             -gencode=arch=compute_87,code=sm_87 \
+                             -gencode=arch=compute_89,code=sm_89 \
+                             -gencode=arch=compute_90,code=sm_90 \
+                             -gencode=arch=compute_90,code=compute_90" \
       -DCUDA_HOST_COMPILER=/usr/bin/g++ \
       -DCMAKE_INSTALL_PREFIX=/usr
 

Reply via email to