Skip to content

Commit

Permalink
Merge pull request #23 from CExA-project/improve-docs
Browse files Browse the repository at this point in the history
Improve docs
  • Loading branch information
yasahi-hpc authored Jan 9, 2024
2 parents 3800bc2 + 5ec68a1 commit c854eb4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Multiple people have contributed to DDC. To show our appreciation for their
public spirit, we list here in alphabetical order a condensed list of their
contributions.


Yuuichi Asahi - CEA (yuuichi.asahi(at)cea.fr)
* Maintainer
* Initial designer and first development steps
* Co-developer
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# kokkos-fft

[![CI](https://github.com/CExA-project/kokkos-fft/actions/workflows/cmake.yml/badge.svg)](https://github.com/CExA-project/kokkos-fft/actions)

UNOFFICIAL FFT interfaces for Kokkos C++ Performance Portability Programming EcoSystem

KokkosFFT implements local interfaces Kokkos and de facto standard FFT libraries, including fftw, cufft and hipfft.
Expand Down Expand Up @@ -28,7 +30,7 @@ Kokkos::Random_XorShift64_Pool<> random_pool(12345);
Kokkos::fill_random(x, random_pool, 1);
Kokkos::fence();

KokkosFFT::rfft(x, x_hat);
KokkosFFT::rfft(execution_space(), x, x_hat);
```
Depending on the View dimension, it automatically uses the batched plans as follows
Expand All @@ -55,7 +57,7 @@ Kokkos::fill_random(x, random_pool, 1);
Kokkos::fence();

int axis = -1;
KokkosFFT::rfft(x, x_hat, KokkosFFT::FFT_Normalization::BACKWARD, axis); // FFT along -1 axis and batched along 0th axis
KokkosFFT::rfft(execution_space(), x, x_hat, KokkosFFT::FFT_Normalization::BACKWARD, axis); // FFT along -1 axis and batched along 0th axis
```
## Building KokkosFFT
Expand Down

0 comments on commit c854eb4

Please sign in to comment.