gtx1050ti with debian nvida-cuda-toolkit 7.5
This commit is contained in:
parent
fe9f8adc0e
commit
ada174e8c4
|
|
@ -255,6 +255,9 @@ if test "x$enable_cuspice" = xyes; then
|
||||||
SM_35=$(echo $NVCC_OUTPUT | grep "sm_35")
|
SM_35=$(echo $NVCC_OUTPUT | grep "sm_35")
|
||||||
C_50=$(echo $NVCC_OUTPUT | grep "compute_50")
|
C_50=$(echo $NVCC_OUTPUT | grep "compute_50")
|
||||||
SM_50=$(echo $NVCC_OUTPUT | grep "sm_50")
|
SM_50=$(echo $NVCC_OUTPUT | grep "sm_50")
|
||||||
|
C_52=$(echo $NVCC_OUTPUT | grep "compute_52")
|
||||||
|
SM_52=$(echo $NVCC_OUTPUT | grep "sm_52")
|
||||||
|
|
||||||
AC_MSG_RESULT([CUSPICE will be compiled for the following architectures:])
|
AC_MSG_RESULT([CUSPICE will be compiled for the following architectures:])
|
||||||
if test "$C_20" != "" && test "$SM_20" != ""
|
if test "$C_20" != "" && test "$SM_20" != ""
|
||||||
then
|
then
|
||||||
|
|
@ -283,6 +286,12 @@ if test "x$enable_cuspice" = xyes; then
|
||||||
CUDA_CFLAGS+=" -gencode arch=compute_50,\"code=sm_50\""
|
CUDA_CFLAGS+=" -gencode arch=compute_50,\"code=sm_50\""
|
||||||
AC_MSG_RESULT([ Compute Capability: 5.0])
|
AC_MSG_RESULT([ Compute Capability: 5.0])
|
||||||
fi
|
fi
|
||||||
|
if test "$C_52" != "" && test "$SM_52" != ""
|
||||||
|
then
|
||||||
|
CUDA_CFLAGS+=" -gencode arch=compute_52,\"code=sm_52\""
|
||||||
|
CUDA_CFLAGS+=" -gencode arch=compute_52,\"code=compute_52\""
|
||||||
|
AC_MSG_RESULT([ Compute Capability: 5.2])
|
||||||
|
fi
|
||||||
|
|
||||||
CUDA_CFLAGS+=" -DCOMPILED_BY_NVCC"
|
CUDA_CFLAGS+=" -DCOMPILED_BY_NVCC"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue