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
+
1
9
#ifndef __CLC_MATH_CLC_FMAX_H__
2
10
#define __CLC_MATH_CLC_FMAX_H__
3
11
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
+
1
9
#ifndef __CLC_MATH_CLC_FMIN_H__
2
10
#define __CLC_MATH_CLC_FMIN_H__
3
11
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
+
1
9
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION (__CLC_GENTYPE x,
2
10
__CLC_GENTYPE y);
3
11
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
+
1
9
#include < clc/utils.h>
2
10
3
11
#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
+
1
9
#include <clc/internal/clc.h>
2
10
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
+
1
9
#include <clc/internal/clc.h>
2
10
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