brintos

brintos / llvm-project-archived public Read only

0
0
Text · 934 B · e904330 Raw
27 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#if defined(__opencl_c_atomic_order_seq_cst) &&                                \10    defined(__opencl_c_atomic_scope_device)11 12#include <clc/atomic/clc_atomic_load.h>13#include <clc/opencl/atomic/atomic_load.h>14 15#define __CLC_FUNCTION atomic_load16#define __CLC_IMPL_FUNCTION __clc_atomic_load17#define __CLC_NO_VALUE_ARG18 19#define __CLC_BODY <atomic_def.inc>20#include <clc/integer/gentype.inc>21 22#define __CLC_BODY <atomic_def.inc>23#include <clc/math/gentype.inc>24 25#endif // defined(__opencl_c_atomic_order_seq_cst) &&26       // defined(__opencl_c_atomic_scope_device)27