From c41610ab0eaa77245621b0aab67b8155622f4004 Mon Sep 17 00:00:00 2001 From: Andrey Alekseenko Date: Mon, 9 Aug 2021 10:47:36 +0000 Subject: [PATCH] Only enable GPU FFT test for build supporting it --- 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 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 -- 2.22.0