Skip to content

Commit

Permalink
Default CUDA compute models are now 1.1 and 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Arnold committed Mar 29, 2011
1 parent 1436285 commit d06c319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ if test x$with_cuda != xno; then
# if no other compute capability is defined by the user, we need at least 1.1
case "$NVCCFLAGS" in
*-arch=*) ;;
*) NVCCFLAGS="$NVCCFLAGS --ptxas-options=-v -arch=compute_20 -code=sm_20"
*) NVCCFLAGS="$NVCCFLAGS --ptxas-options=-v -gencode arch=compute_11,code=compute_11 -gencode arch=compute_20,code=compute_20"
esac
# use nvcc
save_CC=$CC
Expand Down

0 comments on commit d06c319

Please sign in to comment.