search for: kernel_barrier1

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

2012 Dec 01
6
[LLVMdev] [RFC] "noclone" function attribute
...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 returning the *same* next state. This is guaranteed by the OpenCL...
2012 Dec 02
0
[LLVMdev] [RFC] "noclone" function attribute
...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 returning the *same* next state. This is guaranteed by the OpenCL...