#
# This file is part of the GROMACS molecular simulation package.
#
-# 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.
gmx_add_libgromacs_sources(nbnxm_gpu_data_mgmt.cpp)
_gmx_add_files_to_property(CUDA_SOURCES
nbnxm_gpu_data_mgmt.cpp
- )
+ )
endif()
if(GMX_GPU_OPENCL)
gmx_add_libgromacs_sources(nbnxm_gpu_data_mgmt.cpp)
endif()
+if(GMX_GPU_SYCL)
+ add_subdirectory(sycl)
+ gmx_add_libgromacs_sources(nbnxm_gpu_data_mgmt.cpp)
+ _gmx_add_files_to_property(SYCL_SOURCES nbnxm_gpu_data_mgmt.cpp nbnxm.cpp)
+endif()
+
set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${NBNXM_SOURCES} PARENT_SCOPE)
#target_link_libraries(nbnxm PUBLIC
target_link_libraries(nbnxm INTERFACE
utility
- )
\ No newline at end of file
+ )