Skip to content

Commit

Permalink
wording changes
Browse files Browse the repository at this point in the history
Co-authored-by: Cédric Chevalier <[email protected]>
  • Loading branch information
JBludau and cedricchevalier19 authored Aug 1, 2024
1 parent e0b1f07 commit 5c04488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ which activates the OpenMP backend. All the options controlling device backends,

## Separate Compilation via CMake Language

Kokkos supports separating the compilation of source files using Kokkos from others. This is controlled similar to a CMake language. The feature requires Kokkos to be compiled with the keyword `Kokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE=ON`. The availability of the feature can be checked via `find_package(Kokkos COMPONENTS separable_compilation)`.
Kokkos supports separating the compilation of source files using Kokkos from others. This is controlled similarly to a CMake language. The feature requires Kokkos to be compiled with the keyword `Kokkos_ENABLE_COMPILE_AS_CMAKE_LANGUAGE=ON`. The availability of the feature can be requested via `find_package(Kokkos COMPONENTS separable_compilation)`.
The `kokkos_compilation` CMake function marks files in the application's source that contain Kokkos code to be compiled with the correct compiler and flags.
````cmake
# this function is provided to easily select which files use the same compiler as Kokkos
Expand Down

0 comments on commit 5c04488

Please sign in to comment.