Updated CMakeLists.txt for SYCL (#577)
With CMake, enable CUDA stream by default when using SYCL.
This commit is contained in:
parent
33a5051398
commit
94070dd3a9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user