|
|
@ -811,7 +811,10 @@ if test "x$pac_cv_have_cuda" == "xyes"; then
|
|
|
|
pac_cv_cudacc="50,60,70,75";
|
|
|
|
pac_cv_cudacc="50,60,70,75";
|
|
|
|
CUDA_CC="$pac_cv_cudacc";
|
|
|
|
CUDA_CC="$pac_cv_cudacc";
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if (( $pac_cv_cuda_version >= 11070 ))
|
|
|
|
|
|
|
|
then
|
|
|
|
CUDEFINES="--dopt=on";
|
|
|
|
CUDEFINES="--dopt=on";
|
|
|
|
|
|
|
|
fi
|
|
|
|
for cc in `echo $pac_cv_cudacc|sed 's/,/ /gi'`
|
|
|
|
for cc in `echo $pac_cv_cudacc|sed 's/,/ /gi'`
|
|
|
|
do
|
|
|
|
do
|
|
|
|
CUDEFINES="$CUDEFINES -gencode arch=compute_$cc,code=sm_$cc";
|
|
|
|
CUDEFINES="$CUDEFINES -gencode arch=compute_$cc,code=sm_$cc";
|
|
|
|