search for: barrier1

Displaying 2 results from an estimated 2 matches for "barrier1".

Did you mean: barrier
2012 Dec 01
6
[LLVMdev] [RFC] "noclone" function attribute
...(x()) y(); barrier(); if (x()) z(); else w(); } split it up into sub-functions and would produce a state machine and a loop similar to this: while (1) { switch (state) { case STATE_START: for (x...) for (y...) for (z...) state = kernel_START(x, y, z); break; case STATE_BARRIER1: for (x...) for (y...) for (z...) state = kernel_BARRIER1(x, y, z); break; case STATE_END: return; } } where every kernel sub-function (kernel_START and kernel_BARRIER1 in this example) return a new state. Notice this relies upon all calls to either kernel_START or kernel_BARRIER1 re...
2012 Dec 02
0
[LLVMdev] [RFC] "noclone" function attribute
...(x()) y(); barrier(); if (x()) z(); else w(); } split it up into sub-functions and would produce a state machine and a loop similar to this: while (1) { switch (state) { case STATE_START: for (x...) for (y...) for (z...) state = kernel_START(x, y, z); break; case STATE_BARRIER1: for (x...) for (y...) for (z...) state = kernel_BARRIER1(x, y, z); break; case STATE_END: return; } } where every kernel sub-function (kernel_START and kernel_BARRIER1 in this example) return a new state. Notice this relies upon all calls to either kernel_START or kernel_BARRIER1 re...