Skip to content

Commit

Permalink
fix typo Kokkkos -> Kokkos
Browse files Browse the repository at this point in the history
  • Loading branch information
KowerKoint committed Sep 7, 2023
1 parent b12a720 commit 078e42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/ProgrammingGuide/HierarchicalParallelism.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ As the name indicates the vector-level must be vectorizable. The parallel patter

As stated above, a kernel is a parallel region with respect to threads (and vector lanes) within a team. This means that global memory accesses outside of the respective nested levels potentially have to be protected against repetitive execution. A common example is the case where a team performs some calculation but only one result per team has to be written back to global memory.

Kokkos provides the `Kokkkos::single(Policy,Lambda)` function for this case. It currently accepts two policies:
Kokkos provides the `Kokkos::single(Policy,Lambda)` function for this case. It currently accepts two policies:

* `Kokkos::PerTeam` restricts execution of the lambda's body to once per team
* `Kokkos::PerThread` restricts execution of the lambda's body to once per thread (that is, to only one vector lane in a thread)
Expand Down

0 comments on commit 078e42c

Please sign in to comment.