support for nvcc -m32
This commit is contained in:
parent
8921889002
commit
bbd523a73a
@ -911,7 +911,11 @@ else
|
||||
ENABLE_CUDA="@# "
|
||||
else
|
||||
ENABLE_CUDA=""
|
||||
case "$target_os" in
|
||||
if test "$YAP_TARGET" = "i386"
|
||||
then
|
||||
NVCC="$NVCC -m32"
|
||||
fi
|
||||
case "$target_os" in
|
||||
*darwin*)
|
||||
CUDA_LDFLAGS="$LDFLAGS"
|
||||
CUDA_CPPFLAGS="-shared -arch=sm_20 -Xcompiler -fPIC -O3 "
|
||||
|
Reference in New Issue
Block a user