Skip to content

Commit

Permalink
CMakeLists.txt: update for sycl backend
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Nov 8, 2023
1 parent 6b67d7d commit 2899713
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ set(ENABLE_CUDA ON CACHE BOOL "Enable CUDA backend")
set(ENABLE_CUDA_RTC ON CACHE BOOL "Enable CUDA NVRTC backend")
set(USE_NVRTC_STATIC ON CACHE BOOL "Whether to use NVRTC static library")

set(ENABLE_SYCL OFF CACHE BOOL "Enable SYCL backend")

set(VAPOURSYNTH_INCLUDE_DIRECTORY "" CACHE PATH "Path to VapourSynth headers")

if(NOT VAPOURSYNTH_INCLUDE_DIRECTORY)
Expand Down Expand Up @@ -56,3 +58,7 @@ endif() # ENABLE_CUDA
if(ENABLE_CUDA_RTC)
add_subdirectory(rtc_source)
endif() # ENABLE_CUDA_RTC

if(ENABLE_SYCL)
add_subdirectory(sycl_source)
endif() # ENABLE_CUDA_RTC

0 comments on commit 2899713

Please sign in to comment.