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.
15 lines
543 B
Common Lisp
15 lines
543 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_modf.h>
|
|
#include <clc/opencl/math/modf.h>
|
|
|
|
#define FUNCTION modf
|
|
#define __CLC_BODY <clc/math/unary_def_with_ptr.inc>
|
|
#include <clc/math/gentype.inc>
|