Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Lines | let description = [{ | ||||
be executed concurrently using SIMD instructions).. The lower and upper | be executed concurrently using SIMD instructions).. The lower and upper | ||||
bounds specify a half-open range: the range includes the lower bound but | bounds specify a half-open range: the range includes the lower bound but | ||||
does not include the upper bound. If the `inclusive` attribute is specified | does not include the upper bound. If the `inclusive` attribute is specified | ||||
then the upper bound is also included. | then the upper bound is also included. | ||||
The body region can contain any number of blocks. The region is terminated | The body region can contain any number of blocks. The region is terminated | ||||
by "omp.yield" instruction without operands. | by "omp.yield" instruction without operands. | ||||
Collapsed loops are represented by the simd-loop having a list of indices, | |||||
bounds and steps where the size of the list is equal to the collapse value. | |||||
When an if clause is present and evaluates to false, the preferred number of | When an if clause is present and evaluates to false, the preferred number of | ||||
iterations to be executed concurrently is one, regardless of whether | iterations to be executed concurrently is one, regardless of whether | ||||
a simdlen clause is specified. | a simdlen clause is specified. | ||||
When a simdlen clause is present, the preferred number of iterations to be | When a simdlen clause is present, the preferred number of iterations to be | ||||
executed concurrently is the value provided to the simdlen clause. | executed concurrently is the value provided to the simdlen clause. | ||||
``` | ``` | ||||
omp.simdloop <clauses> | omp.simdloop <clauses> | ||||
▲ Show 20 Lines • Show All 984 Lines • Show Last 20 Lines |