Only enable GPU FFT test for build supporting it
[alexxy/gromacs.git] / src / gromacs / fft / tests / fft.cpp
index b743d3d1149280a975cb43e905771b8ecf43ea21..7d0c7186d4090dd6307f8ae87d29ecbd2ff9e4ee 100644 (file)
@@ -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