This is follow-up of comment https://github.com/llvm/llvm-project/pull/168318#discussion_r2588117855 libclc OpenCL library is already compiled with flag `-fdeclare-opencl-builtins -finclude-default-header`.
18 lines
611 B
Common Lisp
18 lines
611 B
Common Lisp
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <clc/opencl/utils.h>
|
|
|
|
#define __CLC_ATOMIC_GENTYPE __CLC_XCONCAT(atomic_, __CLC_GENTYPE)
|
|
|
|
#define __CLC_BODY <atomic_init.inc>
|
|
#include <clc/integer/gentype.inc>
|
|
|
|
#define __CLC_BODY <atomic_init.inc>
|
|
#include <clc/math/gentype.inc>
|