Skip to content

Commit

Permalink
added version the options are introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
JBludau committed Dec 18, 2024
1 parent 5f78dc6 commit 562ce16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ which activates the OpenMP backend. All the options controlling device backends,
Kokkos allows projects to specify if they want Kokkos to set the `CXX` compiler in a way that allows the build system to work independent of the used backend.
This is controlled via the options `Kokkos_GLOBAL_COMPILATION` and `Kokkos_FORCE_COMPILER_LAUNCHER` that have to be set before `find_package(Kokkos)` is called.

| | Description | Default |
|---|-------------|---------|
| `Kokkos_GLOBAL_COMPILATION` | Set compiler to the CXX compiler Kokkos needs for the whole project | `ON` |
| `Kokkos_FORCE_COMPILER_LAUNCHER` | Use the `kokkos_compiler_launcher` script on all targets in the project. Redirects cpp files in targets that link to Kokkos to the CXX compiler Kokkos needs and to the respective CMake detected compiler otherwise | `OFF` |
| | Description | Default | Info |
|---|-------------|---------|------|
| `Kokkos_GLOBAL_COMPILATION` | Set compiler to the CXX compiler Kokkos needs for the whole project | `ON` | (Since Kokkos 4.5) |
| `Kokkos_FORCE_COMPILER_LAUNCHER` | Use the `kokkos_compiler_launcher` script on all targets in the project. Redirects cpp files in targets that link to Kokkos to the CXX compiler Kokkos needs and to the respective CMake detected compiler otherwise | `OFF` | (Since Kokkos 4.5) |

Minimal working examples can be found in the `example` folder.

Expand Down

0 comments on commit 562ce16

Please sign in to comment.