From afa018e40a542d71079870a4201893c56a7e840e Mon Sep 17 00:00:00 2001 From: Wenju He Date: Tue, 4 Nov 2025 09:10:38 +0100 Subject: [PATCH] [NFC][libclc] Rename clc_cbrt.inc to clc_cbrt.h __clc_cbrt functions are declared in clc_cbrt.inc. Rename to .h for consistency with other headers. --- libclc/clc/include/clc/math/{clc_cbrt.inc => clc_cbrt.h} | 0 libclc/clc/lib/generic/math/clc_cbrt.cl | 1 + libclc/opencl/lib/generic/math/cbrt.cl | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename libclc/clc/include/clc/math/{clc_cbrt.inc => clc_cbrt.h} (100%) diff --git a/libclc/clc/include/clc/math/clc_cbrt.inc b/libclc/clc/include/clc/math/clc_cbrt.h similarity index 100% rename from libclc/clc/include/clc/math/clc_cbrt.inc rename to libclc/clc/include/clc/math/clc_cbrt.h diff --git a/libclc/clc/lib/generic/math/clc_cbrt.cl b/libclc/clc/lib/generic/math/clc_cbrt.cl index 105f6329d5bad..935b7b7eae78c 100644 --- a/libclc/clc/lib/generic/math/clc_cbrt.cl +++ b/libclc/clc/lib/generic/math/clc_cbrt.cl @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/libclc/opencl/lib/generic/math/cbrt.cl b/libclc/opencl/lib/generic/math/cbrt.cl index 0d670150ed4c9..7de61436522b3 100644 --- a/libclc/opencl/lib/generic/math/cbrt.cl +++ b/libclc/opencl/lib/generic/math/cbrt.cl @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// -#include +#include #include #define __CLC_FUNCTION cbrt