Skip to content

Commit

Permalink
Unset the cached cuda_runtime_api.h variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jfowkes committed May 22, 2024
1 parent 1a71375 commit e8d55f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions m4/spral_nvcc_lib.m4
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ AC_CHECK_HEADER([cuda_runtime_api.h], [spral_nvcc_inc_ok=yes])
# Check in CUDA_HOME/include
if test x"$spral_nvcc_inc_ok" != xyes; then
AS_UNSET([ac_cv_header_cuda_runtime_api_h])
NVCC_INCLUDE_FLAGS="$NVCC_INCLUDE_FLAGS -I$CUDA_HOME/include"
save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS $NVCC_INCLUDE_FLAGS"
AC_CHECK_HEADER([cuda_runtime_api.h], [spral_nvcc_inc_ok=yes])
Expand Down

0 comments on commit e8d55f8

Please sign in to comment.