diff --git a/benchmarks/gbench/mp/fft3d.cpp b/benchmarks/gbench/mp/fft3d.cpp index 5e30a57b44..23dcbbdae3 100644 --- a/benchmarks/gbench/mp/fft3d.cpp +++ b/benchmarks/gbench/mp/fft3d.cpp @@ -5,7 +5,11 @@ #include "cxxopts.hpp" #include "fmt/core.h" #include "mpi.h" +#if (__INTEL_LLVM_COMPILER >= 20250000) #include "oneapi/mkl/dft.hpp" +#else +#include "oneapi/mkl/dfti.hpp" +#endif #include #include "dr/mp.hpp" diff --git a/benchmarks/gbench/sp/fft3d.cpp b/benchmarks/gbench/sp/fft3d.cpp index 19d4f3aee4..cdf060c88c 100644 --- a/benchmarks/gbench/sp/fft3d.cpp +++ b/benchmarks/gbench/sp/fft3d.cpp @@ -3,7 +3,11 @@ // SPDX-License-Identifier: BSD-3-Clause #include "cxxopts.hpp" +#if (__INTEL_LLVM_COMPILER >= 20250000) #include "oneapi/mkl/dft.hpp" +#else +#include "oneapi/mkl/dfti.hpp" +#endif #include #include #include