Skip to content

Commit af33a03

Browse files
authored
Fix compilation on older onedpl (#862)
* Fix compilation on older OneDpl * Fix style * Some fixes with version macro
1 parent 0961a88 commit af33a03

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

benchmarks/gbench/mp/fft3d.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
#include "cxxopts.hpp"
66
#include "fmt/core.h"
77
#include "mpi.h"
8+
#if (__INTEL_LLVM_COMPILER >= 20250000)
89
#include "oneapi/mkl/dft.hpp"
10+
#else
11+
#include "oneapi/mkl/dfti.hpp"
12+
#endif
913
#include <complex>
1014

1115
#include "dr/mp.hpp"

benchmarks/gbench/sp/fft3d.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
// SPDX-License-Identifier: BSD-3-Clause
44

55
#include "cxxopts.hpp"
6+
#if (__INTEL_LLVM_COMPILER >= 20250000)
67
#include "oneapi/mkl/dft.hpp"
8+
#else
9+
#include "oneapi/mkl/dfti.hpp"
10+
#endif
711
#include <complex>
812
#include <dr/sp.hpp>
913
#include <fmt/core.h>

0 commit comments

Comments
 (0)