summaryrefslogtreecommitdiffstats
path: root/build/linux/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'build/linux/configure.ac')
-rw-r--r--build/linux/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac
index ad1d36c..f58ad0e 100644
--- a/build/linux/configure.ac
+++ b/build/linux/configure.ac
@@ -133,6 +133,14 @@ if test x"$HAVECUDA" = xyes; then
ASTRA_CHECK_NVCC(HAVECUDA,NVCCFLAGS)
fi
AC_MSG_RESULT($HAVECUDA)
+
+if test x"$HAVECUDA" = xyes; then
+ AC_MSG_CHECKING([for nvcc archs])
+ ASTRA_FIND_NVCC_ARCHS([10 12 20 30 35],NVCCFLAGS,NVCCARCHS)
+ AC_MSG_RESULT($NVCCARCHS)
+fi
+
+
AC_SUBST(HAVECUDA)
AC_SUBST(LDFLAGS_CUDA)
AC_SUBST(CPPFLAGS_CUDA)