Skip to content
Snippets Groups Projects
Commit 0adf746f authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Doctest update for isl 0.17

parent 46c2e94d
No related branches found
No related tags found
No related merge requests found
...@@ -563,8 +563,9 @@ relation to loop nesting. For example, it's perfectly possible to request ...@@ -563,8 +563,9 @@ relation to loop nesting. For example, it's perfectly possible to request
#define lid(N) ((int) get_local_id(N)) #define lid(N) ((int) get_local_id(N))
... ...
for (int i_inner = 0; i_inner <= 15; ++i_inner) for (int i_inner = 0; i_inner <= 15; ++i_inner)
for (int i_outer = 0; i_outer <= -1 + -1 * i_inner + ((15 + n + 15 * i_inner) / 16); ++i_outer) if (-1 + -1 * i_inner + n >= 0)
a[i_inner + i_outer * 16] = 0.0f; for (int i_outer = 0; i_outer <= -1 + -1 * i_inner + ((15 + n + 15 * i_inner) / 16); ++i_outer)
a[i_inner + i_outer * 16] = 0.0f;
... ...
Notice how loopy has automatically generated guard conditionals to make Notice how loopy has automatically generated guard conditionals to make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment