This commit continues the work from #146840 and extends it to the maths, geomtrics, common, and relational directories. All headers have include guards and, where appropriate, include the minimal code required for their specific definitions. Implementation files no longer include the large catch-all header of all OpenCL builtin declarations.
17 lines
586 B
Common Lisp
17 lines
586 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/math/clc_native_divide.h>
|
|
#include <clc/opencl/math/native_divide.h>
|
|
|
|
#define __FLOAT_ONLY
|
|
#define FUNCTION native_divide
|
|
#define __CLC_BODY <clc/shared/binary_def.inc>
|
|
|
|
#include <clc/math/gentype.inc>
|