Fix CUDA clang-tidy complaints
[alexxy/gromacs.git] / src / gromacs / fft / tests / fft.cpp
index b2dc98e4b5aece3dd7314e4e5f3ac7327e0a92b7..f89d1747c2305497547433d93e0d99b9631ac2af 100644 (file)
@@ -372,7 +372,7 @@ TEST_F(FFTTest3D, Real5_6_9)
  *
  *  DPCPP uses oneMKL, which seems to have troubles with out-of-place
  *  transforms. */
-static constexpr bool sc_performOutOfPlaceFFT = !(GMX_SYCL_DPCPP && GMX_FFT_MKL);
+constexpr bool sc_performOutOfPlaceFFT = !((GMX_SYCL_DPCPP == 1) && (GMX_FFT_MKL == 1));
 
 /*! \brief Return the output grid depending on whether in- or out-of
  * place FFT is used