Activate GPU update support in SYCL build
[alexxy/gromacs.git] / src / gromacs / taskassignment / decidegpuusage.cpp
index 499076005101d087b6229e4a4d95857f0dc0d9d3..5bac5adcef47df7fd726cdb4fd16aa3d7b02930a 100644 (file)
@@ -618,9 +618,9 @@ bool decideWhetherToUseGpuForUpdate(const bool                     isDomainDecom
     {
         errorMessage += "Compatible GPUs must have been found.\n";
     }
-    if (!GMX_GPU_CUDA)
+    if (!(GMX_GPU_CUDA || GMX_GPU_SYCL))
     {
-        errorMessage += "Only a CUDA build is supported.\n";
+        errorMessage += "Only CUDA and SYCL builds are supported.\n";
     }
     if (inputrec.eI != IntegrationAlgorithm::MD)
     {