Skip to content

Commit

Permalink
Getting closer with this update.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycedowell committed Feb 19, 2024
1 parent 77ee338 commit 10f6437
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/cuda.m4
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ AC_DEFUN([AX_CHECK_CUDA],
CXXFLAGS_save="$CXXFLAGS"
LDFLAGS_save="$LDFLAGS"
LIBS_save="$LIBS"
NVCCLIBS_save="$NVCCLIBS"
LDFLAGS="-L$CUDA_HOME/lib64 -L$CUDA_HOME/lib"
LIBS="-lcuda -lcudart"
NVCCLIBS="-lcuda -lcudart"
ac_run='$NVCC -o conftest$ac_ext $LDFLAGS $LIBS conftest.$ac_ext>&5'
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[
Expand Down Expand Up @@ -292,7 +292,7 @@ AC_DEFUN([AX_CHECK_CUDA],
CXXFLAGS="$CXXFLAGS_save"
LDFLAGS="$LDFLAGS_save"
LIBS="$LIBS_save"
NVCCLIBS="$NVCCLIBS_save"
else
AC_SUBST([GPU_SHAREDMEM], [$with_shared_mem])
fi
Expand Down

0 comments on commit 10f6437

Please sign in to comment.