Skip to content

Commit

Permalink
Revert "configure.ac: remove cuda version check"
Browse files Browse the repository at this point in the history
This reverts commit cdc8886.
  • Loading branch information
MartinPulec committed Aug 22, 2024
1 parent 662f209 commit 1502c10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,12 @@ then
else
FOUND_CUDA=yes
fi
AC_MSG_CHECKING([CUDA Toolkit version - major])
nvcc_major=`"$NVCC" --version |grep release|sed 's/^.*release \(@<:@0-9@:>@@<:@0-9@:>@*\).*$/\1/'`
AC_MSG_RESULT($nvcc_major)
AC_MSG_CHECKING([CUDA Toolkit version - minor])
nvcc_minor=`"$NVCC" --version |grep release|sed 's/^.*release @<:@0-9@:>@@<:@0-9@:>@*\.\(@<:@0-9@:>@@<:@0-9@:>@*\).*$/\1/'`
AC_MSG_RESULT($nvcc_minor)

if test $ac_cv_sizeof_int_p -eq 8 -a $system = Linux
then
Expand Down

0 comments on commit 1502c10

Please sign in to comment.