Skip to content

Commit d33c6c4

Browse files
pzehnertpadioleau
andcommitted
Update utilization.md
Co-authored-by: Thomas Padioleau <[email protected]>
1 parent 9f586f7 commit d33c6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ A kernel running in a team policy has a `Kokkos::TeamPolicy<>::member_type` argu
572572
| `team_size()` | Number of threads in the team |
573573
| `team_rank()` | Index of the thread within the team |
574574

575-
Note that nested parallel constructs do not use `KOKKOS_LAMBDA` but `[=]`.
575+
Note that nested parallel constructs do not use `KOKKOS_LAMBDA` to create lambdas. One must use the C++ syntax, for example `[=]` or `[&]`.
576576

577577
<!--#ifndef PRINT-->
578578
<img title="Doc" alt="Doc" src="./images/doc_txt.svg" height="25"> https://kokkos.org/kokkos-core-wiki/API/core/policies/TeamPolicy.html

0 commit comments

Comments
 (0)