Enable GMX_GPU=SYCL compiles
[alexxy/gromacs.git] / src / gromacs / gpu_utils / CMakeLists.txt
index 58a81157d821c73599b771a082f7f4c0c0163284..a9b1a89f52f494687a2f29026550ab13a589b344 100644 (file)
@@ -58,6 +58,12 @@ elseif(GMX_GPU_CUDA)
         pinning.cu
         pmalloc_cuda.cu
         )
+elseif(GMX_GPU_SYCL)
+    gmx_add_libgromacs_sources(
+        device_context_sycl.cpp
+        device_stream_sycl.cpp
+        )
+    _gmx_add_files_to_property(SYCL_SOURCES device_context_sycl.cpp device_stream_sycl.cpp)
 else()
     gmx_add_libgromacs_sources(
         device_context.cpp