@@ -90,7 +90,7 @@ AS_IF([test "$opal_check_cuda_happy" = "yes"],
9090
9191# If we have CUDA support, check to see if we have support for SYNC_MEMOPS
9292# which was first introduced in CUDA 6.0.
93- AS_IF ( [ test "$opal_check_cuda_happy"= "yes"] ,
93+ AS_IF ( [ test "$opal_check_cuda_happy" = "yes"] ,
9494 [ AC_CHECK_DECL ( [ CU_POINTER_ATTRIBUTE_SYNC_MEMOPS] , [ CUDA_SYNC_MEMOPS=1] , [ CUDA_SYNC_MEMOPS=0] ,
9595 [ #include <$opal_cuda_incdir/cuda.h>] ) ] ,
9696 [ ] )
@@ -108,9 +108,9 @@ AC_COMPILE_IFELSE(
108108
109109# If we have CUDA support, check to see if we have support for cuPointerGetAttributes
110110# which was first introduced in CUDA 7.0.
111- AS_IF ( [ test "$opal_check_cuda_happy"= "yes"] ,
112- AC_CHECK_DECL ( [ cuPointerGetAttributes] , [ CUDA_GET_ATTRIBUTES=1] , [ CUDA_GET_ATTRIBUTES=0] ,
113- [ #include <$opal_cuda_incdir/cuda.h>] ) ,
111+ AS_IF ( [ test "$opal_check_cuda_happy" = "yes"] ,
112+ [ AC_CHECK_DECL ( [ cuPointerGetAttributes] , [ CUDA_GET_ATTRIBUTES=1] , [ CUDA_GET_ATTRIBUTES=0] ,
113+ [ #include <$opal_cuda_incdir/cuda.h>] ) ] ,
114114 [ ] )
115115
116116AC_MSG_CHECKING ( [ if have cuda support] )
0 commit comments