Skip to content

Commit 4af40a7

Browse files
author
Snapshot Action
committed
Snapshot of kokkos-kernels from commit 0d817f343e230bf9ddd9cba5f55fa343cb439ec7
From repository at https://github.com/kokkos/kokkos-kernels At commit: commit 0d817f343e230bf9ddd9cba5f55fa343cb439ec7 Author: Luc Berger <lberge@sandia.gov> Date: Sat Mar 14 12:53:26 2026 -0600 Common - ExecUtils: fix pre-processor warning (trilinos#2996) We have a direct call to #if __x86_64__ which really should be Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov> Signed-off-by: Snapshot Action <snapshot@action.com>
1 parent 2c1eeb0 commit 4af40a7

File tree

1,632 files changed

+69300
-80466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,632 files changed

+69300
-80466
lines changed

packages/kokkos-kernels/BUILD.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Then for every executable or library in your project:
1818
target_link_libraries(myTarget Kokkos::kokkoskernels)
1919
````
2020
There is no checking Kokkos preprocessor, compiler, or linker flags.
21-
CMake propagates all the necesssary flags to your project.
21+
CMake propagates all the necessary flags to your project.
2222
This means not only is linking to Kokkos Kernels easy, but Kokkos Kernels itself can actually configure compiler and linker flags for *your*
2323
project. If building in-tree, there is no `find_package`.
2424
In fact, you only ever need to link to Kokkos Kernels and not Kokkos!
@@ -30,7 +30,7 @@ A very basic installation is done with:
3030
````
3131
cmake ${srcdir} \
3232
-DCMAKE_CXX_COMPILER=g++ \
33-
-DCMAKE_INSTALL_PREFIX=${my_install_folder}
33+
-DCMAKE_INSTALL_PREFIX=${my_install_folder} \
3434
-DKokkos_ROOT=${kokkos_install_prefix}
3535
````
3636
which builds and installs a default Kokkos Kernels when you run `make install`.
@@ -93,7 +93,7 @@ spack diy -u cmake ${myproject}@${myversion} ... ^kokkos...
9393
where the `...` are the specs for your project and the desired underlying Kokkos configuration.
9494
Again, a `spack-build` directory will be created where you can run `make`.
9595

96-
Spack has a few idiosyncracies that make building outside of Spack annoying related to Spack forcing use of a compiler wrapper. This can be worked around by having a `-DSpack_WORKAROUND=On` given in your CMake. Then add the block of code to your CMakeLists.txt:
96+
Spack has a few idiosyncrasies that make building outside of Spack annoying related to Spack forcing use of a compiler wrapper. This can be worked around by having a `-DSpack_WORKAROUND=On` given in your CMake. Then add the block of code to your CMakeLists.txt:
9797

9898
````
9999
if (Spack_WORKAROUND)

packages/kokkos-kernels/CHANGELOG.md

Lines changed: 291 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)