This commit finishes the work started in #146840 and #147276. It makes each OpenCL header self-contained and each implementation file include only the headers it needs. It removes the need for a catch-all include file of all OpenCL builtin declarations.
17 lines
564 B
Common Lisp
17 lines
564 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/shared/max.h>
|
|
#include <clc/shared/clc_max.h>
|
|
|
|
#define __CLC_BODY <max.inc>
|
|
#include <clc/integer/gentype.inc>
|
|
|
|
#define __CLC_BODY <max.inc>
|
|
#include <clc/math/gentype.inc>
|