brintos

brintos / llvm-project-archived public Read only

0
0
Text · 869 B · f238ae6 Raw
22 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_CLC_OVERLOAD _CLC_DEF event_t10async_work_group_copy(local __CLC_GENTYPE *dst, const global __CLC_GENTYPE *src,11                      size_t num_gentypes, event_t event) {12 13  return async_work_group_strided_copy(dst, src, num_gentypes, 1, event);14}15 16_CLC_OVERLOAD _CLC_DEF event_t17async_work_group_copy(global __CLC_GENTYPE *dst, const local __CLC_GENTYPE *src,18                      size_t num_gentypes, event_t event) {19 20  return async_work_group_strided_copy(dst, src, num_gentypes, 1, event);21}22