Draft: Fix compilation
[alexxy/gromacs.git] / src / gromacs / gpu_utils / tests / device_stream_manager.cpp
index d01aff20ead9771860aa31cdf0f19893cafe2eea..06c03fe8b1f72a30eb9b3694d9dfaf4cd0dbbeef 100644 (file)
@@ -73,7 +73,7 @@ const EnumerationArray<DeviceStreamType, std::string> c_deviceStreamNames = {
 
 /*! \brief Non-GPU builds return nullptr instead of streams,
  * so we have to expect that in such build configurations. */
-constexpr bool c_canExpectValidStreams = (GMX_GPU != 0);
+constexpr bool c_canExpectValidStreams = (GMX_GPU != 0 && !GMX_GPU_SYCL); // SYCL-TODO
 
 //! Helper function to implement readable testing
 void expectValidStreams(DeviceStreamManager* manager, std::initializer_list<DeviceStreamType> types)