Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Isaev, Ilya <[email protected]>
  • Loading branch information
isaevil committed Dec 2, 2024
1 parent e5abf20 commit 9600626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rfcs/proposed/parallel_block_for_task_arena/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void task_arena_leave_policy_example() {
// Parallel computation
});
// Different parallel runtime is used
// so it is preffered that worker threads won't be retained
// so it is preferred that worker threads won't be retained
// in the arena at this point.
#pragma omp parallel for
for (int i = 0; i < work_size; ++i) {
Expand All @@ -203,7 +203,7 @@ void parallel_phase_example() {
tbb::this_task_arena::end_parallel_phase(/*with_fast_leave=*/true);
// Different parallel runtime (for example, OpenMP) is used
// so it is preffered that worker threads won't be retained
// so it is preferred that worker threads won't be retained
// in the arena at this point.
#pragma omp parallel for
for (int i = 0; i < work_size; ++i) {
Expand Down

0 comments on commit 9600626

Please sign in to comment.