Skip to content

Commit

Permalink
add targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuuichi Asahi committed Feb 17, 2024
1 parent ad907f6 commit 2576b12
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _examples:

Examples
========
Expand Down
3 changes: 2 additions & 1 deletion docs/intro/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ For FFTs on Kokkos device only, we do not need to add extra compile options but
In order to use KokkosFFT from both host and device, we need to add ``KokkosFFT_ENABLE_HOST_AND_DEVICE=ON``.
This option may be useful, for example FFT is used for initialization at host.
However, to enable this option, we need a pre-installed ``fftw`` for FFT on host, so it is disabled in default.
(see :doc:`minimum working example<../samples/05_1DFFT_HOST_DEVICE>`)

.. list-table:: CMake options
:widths: 25 25 50
Expand All @@ -86,7 +87,7 @@ However, to enable this option, we need a pre-installed ``fftw`` for FFT on host
* - ``KokkosFFT_ENABLE_HOST_AND_DEVICE``
- Enable FFT on both host and device.
- OFF
* - ``KokkosFFT_INTERNAL_Kokkos``
* - ``KokkosFFT_ENABLE_INTERNAL_KOKKOS``
- Build internal Kokkos instead of relying on external one.
- OFF
* - ``KokkosFFT_ENABLE_EXAMPLES``
Expand Down
5 changes: 3 additions & 2 deletions docs/intro/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ The following listing shows good and bad examples of Real FFTs.

We have to use the same precision (either ``float`` or ``double``) for input and ouptut Views.

Supported Views
---------------
Supported data types
--------------------

Firstly, the input and output Views must have the same LayoutType and rank.
For the moment, we accept Kokkos Views with some restriction in data types and Layout.
Expand Down Expand Up @@ -106,6 +106,7 @@ Reuse FFT plan
Apart from the basic APIs, KokkosFFT APIs include overloaded APIs which can take a FFT plan as an argument.
Using these overloaded APIs, we can reuse the FFT plan created before.
In some backend, FFT plan creation leads to some overhead, wherein we need this functionality.
(see :doc:`minimum working example<../samples/06_1DFFT_reuse_plans>`)

.. note::

Expand Down
1 change: 1 addition & 0 deletions docs/samples/01_1DFFT.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _01_1DFFT:

One dimensional FFT
-------------------
Expand Down
1 change: 1 addition & 0 deletions docs/samples/02_2DFFT.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _02_2DFFT:

Two dimensional FFT
-------------------
Expand Down
1 change: 1 addition & 0 deletions docs/samples/03_NDFFT.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _03_NDFFT:

N-dimensional FFT
-----------------
Expand Down
1 change: 1 addition & 0 deletions docs/samples/04_batchedFFT.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _04_batchedFFT:

One-dimensional batched FFT
---------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/samples/05_1DFFT_HOST_DEVICE.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _05_1DFFT_HOST_DEVICE:

FFT on host and device
----------------------
Expand Down
1 change: 1 addition & 0 deletions docs/samples/06_1DFFT_reuse_plans.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. _06_1DFFT_reuse_plans:

Reuse fft plan
--------------
Expand Down

0 comments on commit 2576b12

Please sign in to comment.