16 lines · plain
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include <clc/opencl/async/wait_group_events.h>10#include <clc/opencl/synchronization/barrier.h>11 12_CLC_DEF _CLC_OVERLOAD void wait_group_events(int num_events,13 event_t *event_list) {14 barrier(CLK_LOCAL_MEM_FENCE | CLK_GLOBAL_MEM_FENCE);15}16