Skip to content

Commit

Permalink
update FFTW wrapper class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Dec 5, 2024
1 parent 5e0969f commit 46a3630
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions fft/src/KokkosFFT_SYCL_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ struct FFTPlanType<ExecutionSpace, T1, Kokkos::complex<T2>> {
static constexpr oneapi::mkl::dft::domain dom =
oneapi::mkl::dft::domain::REAL;

using fftwHandle =
ScopedFFTWPlanType<ExecutionSpace, T1, Kokkos::complex<T2>>;
using fftwHandle = ScopedFFTWPlan<ExecutionSpace, T1, Kokkos::complex<T2>>;
using onemklHandle = oneapi::mkl::dft::descriptor<prec, dom>;
using type = std::conditional_t<
std::is_same_v<ExecutionSpace, Kokkos::Experimental::SYCL>, onemklHandle,
Expand All @@ -127,8 +126,7 @@ struct FFTPlanType<ExecutionSpace, Kokkos::complex<T1>, T2> {
static constexpr oneapi::mkl::dft::domain dom =
oneapi::mkl::dft::domain::REAL;

using fftwHandle =
ScopedFFTWPlanType<ExecutionSpace, Kokkos::complex<T1>, T2>;
using fftwHandle = ScopedFFTWPlan<ExecutionSpace, Kokkos::complex<T1>, T2>;
using onemklHandle = oneapi::mkl::dft::descriptor<prec, dom>;
using type = std::conditional_t<
std::is_same_v<ExecutionSpace, Kokkos::Experimental::SYCL>, onemklHandle,
Expand All @@ -146,8 +144,8 @@ struct FFTPlanType<ExecutionSpace, Kokkos::complex<T1>, Kokkos::complex<T2>> {
static constexpr oneapi::mkl::dft::domain dom =
oneapi::mkl::dft::domain::COMPLEX;

using fftwHandle = ScopedFFTWPlanType<ExecutionSpace, Kokkos::complex<T1>,
Kokkos::complex<T2>>;
using fftwHandle =
ScopedFFTWPlan<ExecutionSpace, Kokkos::complex<T1>, Kokkos::complex<T2>>;
using onemklHandle = oneapi::mkl::dft::descriptor<prec, dom>;
using type = std::conditional_t<
std::is_same_v<ExecutionSpace, Kokkos::Experimental::SYCL>, onemklHandle,
Expand Down

0 comments on commit 46a3630

Please sign in to comment.