File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,24 @@ ABI Changes in Clang
161
161
OpenMP Support in Clang
162
162
-----------------------
163
163
164
+ - Support for loop transformation directives from OpenMP 5.1 have been added.
165
+ ``#pragma omp unroll `` is a standardized alternative to ``#pragma unroll ``
166
+ (or ``#pragma clang loop unroll(enable) ``) but also allows composition with
167
+ other OpenMP loop associated constructs as in
168
+
169
+ .. code-block :: c
170
+ #pragma omp parallel for
171
+ #pragma omp unroll partial(4)
172
+ for (int i = 0; i < n; ++i)
173
+
174
+ ``#pragma omp tile `` applies tiling to a perfect loop nest using a
175
+ user-defined tile size.
176
+
177
+ .. code-block :: c
178
+ #pragma omp tile sizes(8,8)
179
+ for (int i = 0; i < m; ++i)
180
+ for (int j = 0; j < n; ++j)
181
+
164
182
- ...
165
183
166
184
CUDA Support in Clang
You can’t perform that action at this time.
0 commit comments