Skip to content

Commit 7baa7ed

Browse files
authored
[libclc]: clspv: add a dummy implememtation for mul_hi (#134094)
clspv uses a better implementation that is not using a bigger side when not available. Add a dummy implementation for mul_hi to avoid to override the implementation of clspv with the one in libclc.
1 parent edc22c6 commit 7baa7ed

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

libclc/clc/lib/clspv/SOURCES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
math/clc_sw_fma.cl
2+
integer/clc_mul_hi.cl
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
Opt-out of libclc mul_hi implementation for clspv.
3+
clspv has an internal implementation that does not required using a bigger data size.
4+
That implementation is based on OpMulExtended which is SPIR-V specific, thus it cannot be written in OpenCL-C.
5+
*/

0 commit comments

Comments
 (0)