Parallel Execution/Dispatch#

Parallel patterns#

Parallel execution patterns for composing algorithms.

Function

Description

parallel_for

Executes user code in parallel

parallel_reduce

Executes user code to perform a reduction in parallel

parallel_scan

Executes user code to generate a prefix sum in parallel

fence

Fences execution spaces

Tags for Team Policy Calculations#

The following parallel pattern tags are used to call the correct overload for team size calculations (team_size_max,team_size_recommended):

Tag

Pattern

ParallelForTag

parallel_for

ParallelReduceTag

parallel_reduce

ParallelScanTag

parallel_scan