diff --git a/src/dft/backends/cufft/descriptor.cpp b/src/dft/backends/cufft/descriptor.cpp index d102164c2..bf26b600f 100644 --- a/src/dft/backends/cufft/descriptor.cpp +++ b/src/dft/backends/cufft/descriptor.cpp @@ -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 void descriptor::commit(backend_selector selector) { @@ -44,6 +42,4 @@ template void descriptor::commit( backend_selector); template void descriptor::commit(backend_selector); -} //namespace dft -} //namespace mkl -} //namespace oneapi +} //namespace oneapi::mkl::dft::detail diff --git a/src/dft/backends/portfft/descriptor.cpp b/src/dft/backends/portfft/descriptor.cpp index d72d23bb5..c45b9f2c5 100644 --- a/src/dft/backends/portfft/descriptor.cpp +++ b/src/dft/backends/portfft/descriptor.cpp @@ -22,7 +22,7 @@ #include "oneapi/mkl/dft/detail/portfft/onemkl_dft_portfft.hpp" -namespace oneapi::mkl::dft { +namespace oneapi::mkl::dft::detail { template void descriptor::commit(backend_selector selector) { @@ -44,4 +44,4 @@ template void descriptor::commit( template void descriptor::commit( backend_selector); -} // namespace oneapi::mkl::dft +} // namespace oneapi::mkl::dft::detail