Skip to content

Commit

Permalink
Fix compilation on older onedpl (oneapi-src#862)
Browse files Browse the repository at this point in the history
* Fix compilation on older OneDpl

* Fix style

* Some fixes with version macro
  • Loading branch information
Xewar313 authored Nov 13, 2024
1 parent 0961a88 commit af33a03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions benchmarks/gbench/mp/fft3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <complex>

#include "dr/mp.hpp"
Expand Down
4 changes: 4 additions & 0 deletions benchmarks/gbench/sp/fft3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <complex>
#include <dr/sp.hpp>
#include <fmt/core.h>
Expand Down

0 comments on commit af33a03

Please sign in to comment.