Skip to content

Commit d50f2ef

Browse files
authored
[NFC][libclc] Move _CLC_V_V_VP_VECTORIZE macro into clc_lgamma_r.cl and delete clcmacro.h (#156280)
clcmacro.h only defines _CLC_V_V_VP_VECTORIZE which is only used in clc/lib/generic/math/clc_lgamma_r.cl.
1 parent d748468 commit d50f2ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+55
-116
lines changed

libclc/clc/include/clc/clc_convert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef __CLC_CLC_CONVERT_H__
1010
#define __CLC_CLC_CONVERT_H__
1111

12-
#include <clc/clcmacro.h>
12+
#include <clc/internal/clc.h>
1313

1414
#define _CLC_CONVERT_DECL(FROM_TYPE, TO_TYPE, SUFFIX) \
1515
_CLC_OVERLOAD _CLC_DECL TO_TYPE __clc_convert_##TO_TYPE##SUFFIX(FROM_TYPE x);

libclc/clc/include/clc/clcmacro.h

Lines changed: 0 additions & 69 deletions
This file was deleted.

libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
109
#include <clc/internal/clc.h>
1110
#include <clc/math/clc_ldexp.h>
1211

libclc/clc/lib/amdgpu/math/clc_native_exp2.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
109
#include <clc/internal/clc.h>
1110

1211
#define __CLC_FLOAT_ONLY

libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
109
#include <clc/internal/clc.h>
1110
#include <clc/math/clc_fma.h>
1211
#include <clc/math/clc_ldexp.h>

libclc/clc/lib/clspv/math/clc_sw_fma.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// been updated as appropriate.
1212

1313
#include <clc/clc_as_type.h>
14-
#include <clc/clcmacro.h>
1514
#include <clc/float/definitions.h>
1615
#include <clc/integer/clc_abs.h>
1716
#include <clc/integer/clc_clz.h>

libclc/clc/lib/generic/common/clc_degrees.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
109
#include <clc/internal/clc.h>
1110

1211
#define DEGREES_SINGLE_DEF(TYPE, LITERAL) \

libclc/clc/lib/generic/common/clc_radians.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
109
#include <clc/internal/clc.h>
1110

1211
#define __CLC_RADIANS_SINGLE_DEF(TYPE, LITERAL) \

libclc/clc/lib/generic/common/clc_smoothstep.cl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
#include <clc/clcmacro.h>
98
#include <clc/internal/clc.h>
109
#include <clc/shared/clc_clamp.h>
1110

libclc/clc/lib/generic/common/clc_step.cl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <clc/clcmacro.h>
10-
119
#define __CLC_BODY <clc_step.inc>
1210
#include <clc/math/gentype.inc>

0 commit comments

Comments
 (0)