fix configuration to support 6.5.
This commit is contained in:
parent
bd35580713
commit
5d84ce03ca
@ -26,7 +26,12 @@ else
|
|||||||
*darwin*)
|
*darwin*)
|
||||||
CUDA_LDFLAGS="$LDFLAGS"
|
CUDA_LDFLAGS="$LDFLAGS"
|
||||||
CUDA_CPPFLAGS="-arch=sm_20 -Xcompiler -fPIC -O3 "
|
CUDA_CPPFLAGS="-arch=sm_20 -Xcompiler -fPIC -O3 "
|
||||||
CUDA_SHLIB_LD="$NVCC -Xcompiler -dynamiclib -L../.. -lYap "
|
CUDA_SHLIB_LD="$NVCC -L../.. -lYap "
|
||||||
|
;;
|
||||||
|
*linux*)
|
||||||
|
CUDA_LDFLAGS="$LDFLAGS"
|
||||||
|
CUDA_CPPFLAGS="-arch=sm_20 -Xcompiler -fPIC -O3 "
|
||||||
|
CUDA_SHLIB_LD="$NVCC -Xcompiler -shared -L../.. -lYap "
|
||||||
;;
|
;;
|
||||||
**)
|
**)
|
||||||
CUDA_LDFLAGS="$LDFLAGS $LIBS"
|
CUDA_LDFLAGS="$LDFLAGS $LIBS"
|
||||||
|
@ -40,7 +40,7 @@ count_answers(G, N) :-
|
|||||||
|
|
||||||
cuda_rule((Head :- Body) , IdRules) :-
|
cuda_rule((Head :- Body) , IdRules) :-
|
||||||
body_to_list( Body, L, [], 1, N),
|
body_to_list( Body, L, [], 1, N),
|
||||||
functor(Head, Na, Ar),
|
functor(Head, _Na, Ar),
|
||||||
load_rule( N, Ar, [Head|L], IdRules ).
|
load_rule( N, Ar, [Head|L], IdRules ).
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user