fixed configure cuda streams (#482)

This PR fixed a bug in configure for cuda streams
This commit is contained in:
Ruipeng Li 2021-09-23 08:41:50 -07:00 committed by GitHub
parent 1c39d56a5c
commit bed421584f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2370,7 +2370,7 @@ fi
if [test "x$hypre_using_cuda" = "xyes" || test "x$hypre_using_device_openmp" = "xyes"]
then
if test "x$hypre_using_cuda_streams" = "xyes"]
if test "x$hypre_using_cuda_streams" = "xyes"
then
AC_DEFINE([HYPRE_USING_CUDA_STREAMS],1,[Define to 1 if using CUDA streams])
fi

2
src/configure vendored
View File

@ -9163,7 +9163,7 @@ $as_echo "#define HYPRE_DEVICE_OPENMP_CHECK 1" >>confdefs.h
if test "x$hypre_using_cuda" = "xyes" || test "x$hypre_using_device_openmp" = "xyes"
then
if test "x$hypre_using_cuda_streams" = "xyes"]
if test "x$hypre_using_cuda_streams" = "xyes"
then
$as_echo "#define HYPRE_USING_CUDA_STREAMS 1" >>confdefs.h