23 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_fetch_or.h>13#include <clc/opencl/atomic/atomic_fetch_or.h>14 15#define __CLC_FUNCTION atomic_fetch_or16#define __CLC_IMPL_FUNCTION __clc_atomic_fetch_or17 18#define __CLC_BODY <atomic_def.inc>19#include <clc/integer/gentype.inc>20 21#endif // defined(__opencl_c_atomic_order_seq_cst) &&22 // defined(__opencl_c_atomic_scope_device)23