Closed tpadioleau closed 1 month ago
LGTM. I have two comments.
fft.hpp
, it is not clear what are APIs. I would recommend to introduce Impl
namespace and move all implementation details inside it.test.cpp
, it seems that both norm
and fft
are not tested for GPUs.
Can we rely on Kokkos::DefaultExecutionSpace
and/or Kokkos::DefaultHostExecutionSpace
?
For example,test_fft_norm<
Kokkos::DefaultExecutionSpace,
Kokkos::DefaultExecutionSpace::memory_space,
float,
Kokkos::complex<float>,
RDimX>(ddc::FFT_Normalization::OFF);
LGTM. I have two comments.
- In
fft.hpp
, it is not clear what are APIs. I would recommend to introduceImpl
namespace and move all implementation details inside it.
Do you mean that we rename ddc::detail
to ddc::Impl
? Unless we missed some functions, internals should be in the ddc::detail
namespace.
- In
test.cpp
, it seems that bothnorm
andfft
are not tested for GPUs. Can we rely onKokkos::DefaultExecutionSpace
and/orKokkos::DefaultHostExecutionSpace
?
I think we do actually, see https://github.com/CExA-project/ddc/blob/1bbc983c2a1f55f5dee7e89ce43daebea4858ac4/tests/fft/fft.cpp#L362
Did you identify a missing variant ?
LGTM. I have two comments.
- In
fft.hpp
, it is not clear what are APIs. I would recommend to introduceImpl
namespace and move all implementation details inside it.Do you mean that we rename
ddc::detail
toddc::Impl
? Unless we missed some functions, internals should be in theddc::detail
namespace.
I got it. Then, it is good for me.
- In
test.cpp
, it seems that bothnorm
andfft
are not tested for GPUs. Can we rely onKokkos::DefaultExecutionSpace
and/orKokkos::DefaultHostExecutionSpace
?I think we do actually, see
Did you identify a missing variant ?
I just have a look at the difference and did not notice it is already there. If DDC
does not support Threads
backend, it is good.
I just have a look at the difference and did not notice it is already there. If
DDC
does not supportThreads
backend, it is good.
Not yet indeed, there should not be much work to do to support it though. I will open an issue about it.
closes #502
based on #544
KokkosFFT requests:
CMakeLists.txt
from installed headers--prefix
-Warray-bounds
warning defectTPL
variables