From: Andrey Alekseenko Date: Mon, 9 Aug 2021 10:47:36 +0000 (+0000) Subject: Only enable GPU FFT test for build supporting it X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=c41610ab0eaa77245621b0aab67b8155622f4004;p=alexxy%2Fgromacs.git Only enable GPU FFT test for build supporting it --- diff --git a/src/gromacs/fft/tests/fft.cpp b/src/gromacs/fft/tests/fft.cpp index b743d3d114..7d0c7186d4 100644 --- a/src/gromacs/fft/tests/fft.cpp +++ b/src/gromacs/fft/tests/fft.cpp @@ -364,7 +364,7 @@ TEST_F(FFTTest3D, Real5_6_9) checkRealGrid(realGridSize, realGridSizePadded, in_, outputRealGridValues); } -#if GMX_GPU +#if GMX_GPU_CUDA || GMX_GPU_OPENCL TEST_F(FFTTest3D, GpuReal5_6_9) { // Ensure library resources are managed appropriately