From 7491864bce8155940926dc199388a51ec87c4dd3 Mon Sep 17 00:00:00 2001 From: Andrey Alekseenko Date: Tue, 2 Nov 2021 13:33:13 +0100 Subject: [PATCH] Fix CUDA clang-tidy complaints --- src/gromacs/fft/tests/fft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/fft/tests/fft.cpp b/src/gromacs/fft/tests/fft.cpp index b2dc98e4b5..f89d1747c2 100644 --- a/src/gromacs/fft/tests/fft.cpp +++ b/src/gromacs/fft/tests/fft.cpp @@ -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 -- 2.22.0