Enable compiling LeapFrog with hipSYCL
authorAndrey Alekseenko <al42and@gmail.com>
Tue, 16 Mar 2021 11:21:51 +0000 (12:21 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 19 Mar 2021 15:04:58 +0000 (15:04 +0000)
No testing yet. Trivial change after !1268.

Closes #3941.

src/gromacs/mdlib/CMakeLists.txt
src/gromacs/mdlib/tests/leapfrogtestrunners.h

index 886679bf824830daafd402b46990189f3800310d..96b6be720fa07a8d3ac7413a07f02112fdc57c34 100644 (file)
@@ -50,7 +50,7 @@ if(GMX_GPU_CUDA)
        )
 endif()
 
-if(GMX_GPU_SYCL AND NOT GMX_SYCL_HIPSYCL)
+if(GMX_GPU_SYCL)
     gmx_add_libgromacs_sources(
         leapfrog_gpu_sycl.cpp
     )
index 5c0d0cb7404575db9856cda0b29c0c864b6f38fc..37810d22dc4cf8baf10640c03791367dd0496d1d 100644 (file)
 
 /*
  * LeapFrog is available with CUDA and SYCL.
- * However, the use of float3 in CPU code makes it hard to compile with hipSYCL until
- * Issue #3312 is resolved.
  */
-#define HAVE_GPU_LEAPFROG (GMX_GPU_CUDA || (GMX_GPU_SYCL && !GMX_SYCL_HIPSYCL))
+#define HAVE_GPU_LEAPFROG (GMX_GPU_CUDA || GMX_GPU_SYCL)
 
 namespace gmx
 {