Skip to content

Commit 410bd24

Browse files
authored
[NFC][libclc] remove redundant unary_intrin.inc (#16958)
generic/include/math/unary_intrin.inc is moved into clc folder in 293c78b. However, merge commit c5025ac adds the file back to generic folder.
1 parent 8952694 commit 410bd24

File tree

4 files changed

+3
-34
lines changed

4 files changed

+3
-34
lines changed

libclc/generic/include/math/unary_intrin.inc

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

libclc/libspirv/lib/generic/math/clc_sqrt.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Map the llvm sqrt intrinsic to an OpenCL function.
1212
#define __CLC_FUNCTION __clc_llvm_intr_sqrt
1313
#define __CLC_INTRINSIC "llvm.sqrt"
14-
#include <math/unary_intrin.inc>
14+
#include <clc/math/unary_intrin.inc>
1515
#undef __CLC_FUNCTION
1616
#undef __CLC_INTRINSIC
1717

libclc/libspirv/lib/generic/math/native_unary_intrinsic.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define __CLC_INTRINSIC "llvm." __CLC_XSTR(__CLC_NATIVE_INTRINSIC)
1414

1515
#undef cl_khr_fp64
16-
#include <math/unary_intrin.inc>
16+
#include <clc/math/unary_intrin.inc>
1717

1818
#endif
1919

libclc/libspirv/lib/generic/math/round.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// Map the llvm intrinsic to an OpenCL function.
1313
#define __CLC_FUNCTION __clc___spirv_ocl_round
1414
#define __CLC_INTRINSIC "llvm.round"
15-
#include <math/unary_intrin.inc>
15+
#include <clc/math/unary_intrin.inc>
1616

1717
#undef __CLC_FUNCTION
1818
#define __CLC_FUNCTION __spirv_ocl_round

0 commit comments

Comments
 (0)