From: Andrey Alekseenko Date: Tue, 2 Nov 2021 12:33:13 +0000 (+0100) Subject: Fix CUDA clang-tidy complaints X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=commitdiff_plain;h=7491864bce8155940926dc199388a51ec87c4dd3 Fix CUDA clang-tidy complaints --- 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