File tree Expand file tree Collapse file tree 7 files changed +58
-35
lines changed Expand file tree Collapse file tree 7 files changed +58
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ //===----------------------------------------------------------------------===//
8+
19#ifndef __CLC_MATH_CLC_FMAX_H__
210#define __CLC_MATH_CLC_FMAX_H__
311
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ //===----------------------------------------------------------------------===//
8+
19#ifndef __CLC_MATH_CLC_FMIN_H__
210#define __CLC_MATH_CLC_FMIN_H__
311
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ // ===----------------------------------------------------------------------===//
8+
19_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION (__CLC_GENTYPE x,
210 __CLC_GENTYPE y);
311
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ // ===----------------------------------------------------------------------===//
8+
19#include < clc/utils.h>
210
311#ifndef __CLC_FUNCTION
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ //===----------------------------------------------------------------------===//
8+
19#include <clc/internal/clc.h>
210
3- #undef __CLC_FUNCTION
4- #define __CLC_FUNCTION __clc_fmax
5- #define __CLC_BUILTIN __builtin_elementwise_max
6- #include <clc/math/binary_builtin.inc>
11+ #define FUNCTION __clc_fmax
12+ #define __CLC_FUNCTION (x ) __builtin_elementwise_max
13+ #define __CLC_BODY <clc/shared/binary_def.inc>
14+
15+ #include <clc/math/gentype.inc>
Original file line number Diff line number Diff line change 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-exception
6+ //
7+ //===----------------------------------------------------------------------===//
8+
19#include <clc/internal/clc.h>
210
3- #undef __CLC_FUNCTION
4- #define __CLC_FUNCTION __clc_fmin
5- #define __CLC_BUILTIN __builtin_elementwise_min
6- #include <clc/math/binary_builtin.inc>
11+ #define FUNCTION __clc_fmin
12+ #define __CLC_FUNCTION (x ) __builtin_elementwise_min
13+ #define __CLC_BODY <clc/shared/binary_def.inc>
14+
15+ #include <clc/math/gentype.inc>
You can’t perform that action at this time.
0 commit comments