Implement PME solve in SYCL
[alexxy/gromacs.git] / src / gromacs / ewald / CMakeLists.txt
index 5699d5265129cbbdf9483581e198f374875d8d61..fd24566ee0c883f576b1f9ed6ab3e7efb32e2238 100644 (file)
@@ -2,7 +2,7 @@
 # This file is part of the GROMACS molecular simulation package.
 #
 # Copyright (c) 2014,2015,2016,2017,2018 by the GROMACS development team.
-# Copyright (c) 2019,2020, by the GROMACS development team, led by
+# Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -60,7 +60,6 @@ if (GMX_GPU_CUDA)
     gmx_add_libgromacs_sources(
         # CUDA-specific sources
         pme_gather.cu
-        pme_gpu_3dfft.cu
         pme_solve.cu
         pme_spread.cu
         pme_gpu_program_impl.cu
@@ -76,11 +75,10 @@ if (GMX_GPU_CUDA)
         # Must add these files so they can include device_information.h
         pme_gpu_internal.cpp
         pme_gpu_timings.cpp
-       )
+        )
 elseif (GMX_GPU_OPENCL)
     gmx_add_libgromacs_sources(
         # OpenCL-specific sources
-        pme_gpu_3dfft_ocl.cpp
         pme_gpu_program_impl_ocl.cpp
         # GPU-specific sources
         pme_gpu.cpp
@@ -88,14 +86,26 @@ elseif (GMX_GPU_OPENCL)
         pme_gpu_timings.cpp
         )
 elseif (GMX_GPU_SYCL)
-    # SYCL-TODO: proper implementation
     gmx_add_libgromacs_sources(
-        pme_gpu_program_impl.cpp
+        # GPU-specific sources
+        pme_gather_sycl.cpp
+        pme_gpu.cpp
+        pme_gpu_internal.cpp
+        pme_gpu_program_impl_sycl.cpp
+        pme_gpu_timings.cpp
+        pme_solve_sycl.cpp
+        pme_spread_sycl.cpp
         )
     _gmx_add_files_to_property(SYCL_SOURCES
-        pme_gpu_program_impl.cpp
+        pme_gather_sycl.cpp
+        pme_gpu_internal.cpp
         pme_gpu_program.cpp
-        )
+        pme_gpu_program_impl_sycl.cpp
+        pme_gpu_3dfft_sycl.cpp
+        pme_gpu_timings.cpp
+        pme_solve_sycl.cpp
+        pme_spread_sycl.cpp
+      )
 else()
     gmx_add_libgromacs_sources(
         # Files that implement stubs