diff options
Diffstat (limited to 'libclc/generic/lib/async/wait_group_events.cl')
-rw-r--r-- | libclc/generic/lib/async/wait_group_events.cl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libclc/generic/lib/async/wait_group_events.cl b/libclc/generic/lib/async/wait_group_events.cl new file mode 100644 index 0000000..05c9d58 --- /dev/null +++ b/libclc/generic/lib/async/wait_group_events.cl @@ -0,0 +1,5 @@ +#include <clc/clc.h> + +_CLC_DEF void wait_group_events(int num_events, event_t *event_list) { + barrier(CLK_LOCAL_MEM_FENCE | CLK_GLOBAL_MEM_FENCE); +} |