Skip to content

Commit

Permalink
Update namespace for cuFFT and portFFT descriptor
Browse files Browse the repository at this point in the history
Update namespace to make it consistent across all backends.
  • Loading branch information
s-Nick committed Sep 12, 2024
1 parent fe8e133 commit aed1f63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions src/dft/backends/cufft/descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@

#include "oneapi/mkl/dft/detail/cufft/onemkl_dft_cufft.hpp"

namespace oneapi {
namespace mkl {
namespace dft {
namespace oneapi::mkl::dft::detail {

template <precision prec, domain dom>
void descriptor<prec, dom>::commit(backend_selector<backend::cufft> selector) {
Expand All @@ -44,6 +42,4 @@ template void descriptor<precision::DOUBLE, domain::COMPLEX>::commit(
backend_selector<backend::cufft>);
template void descriptor<precision::DOUBLE, domain::REAL>::commit(backend_selector<backend::cufft>);

} //namespace dft
} //namespace mkl
} //namespace oneapi
} //namespace oneapi::mkl::dft::detail
4 changes: 2 additions & 2 deletions src/dft/backends/portfft/descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "oneapi/mkl/dft/detail/portfft/onemkl_dft_portfft.hpp"

namespace oneapi::mkl::dft {
namespace oneapi::mkl::dft::detail {

template <precision prec, domain dom>
void descriptor<prec, dom>::commit(backend_selector<backend::portfft> selector) {
Expand All @@ -44,4 +44,4 @@ template void descriptor<precision::DOUBLE, domain::COMPLEX>::commit(
template void descriptor<precision::DOUBLE, domain::REAL>::commit(
backend_selector<backend::portfft>);

} // namespace oneapi::mkl::dft
} // namespace oneapi::mkl::dft::detail

0 comments on commit aed1f63

Please sign in to comment.