Skip to content

[NFC][libclc] remove redundant unary_intrin.inc #16958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions libclc/generic/include/math/unary_intrin.inc

This file was deleted.

2 changes: 1 addition & 1 deletion libclc/libspirv/lib/generic/math/clc_sqrt.cl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Map the llvm sqrt intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_llvm_intr_sqrt
#define __CLC_INTRINSIC "llvm.sqrt"
#include <math/unary_intrin.inc>
#include <clc/math/unary_intrin.inc>
#undef __CLC_FUNCTION
#undef __CLC_INTRINSIC

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define __CLC_INTRINSIC "llvm." __CLC_XSTR(__CLC_NATIVE_INTRINSIC)

#undef cl_khr_fp64
#include <math/unary_intrin.inc>
#include <clc/math/unary_intrin.inc>

#endif

Expand Down
2 changes: 1 addition & 1 deletion libclc/libspirv/lib/generic/math/round.cl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc___spirv_ocl_round
#define __CLC_INTRINSIC "llvm.round"
#include <math/unary_intrin.inc>
#include <clc/math/unary_intrin.inc>

#undef __CLC_FUNCTION
#define __CLC_FUNCTION __spirv_ocl_round
Expand Down
Loading