Updated CMakeLists.txt for SYCL (#577)

With CMake, enable CUDA stream by default when using SYCL.
This commit is contained in:
Golam Rabbani 2022-02-17 18:21:51 -08:00 committed by GitHub
parent 33a5051398
commit 94070dd3a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,6 +330,10 @@ if (HYPRE_WITH_SYCL)
set(HYPRE_USING_HOST_MEMORY OFF CACHE BOOL "" FORCE)
if (HYPRE_ENABLE_CUDA_STREAMS)
set(HYPRE_USING_CUDA_STREAMS ON CACHE BOOL "" FORCE)
endif (HYPRE_ENABLE_CUDA_STREAMS)
endif (HYPRE_WITH_SYCL)
# Add any extra C compiler flags HYPRE_WITH_EXTRA_CFLAGS