Skip to content

[Backport to 9] Integer dot product 4x8 packed translation#1648

Merged
MrSidims merged 1 commit intoKhronosGroup:llvm_release_90from
Quetzonarch:integer-dot-product-packed-90
Oct 14, 2022
Merged

[Backport to 9] Integer dot product 4x8 packed translation#1648
MrSidims merged 1 commit intoKhronosGroup:llvm_release_90from
Quetzonarch:integer-dot-product-packed-90

Conversation

@Quetzonarch
Copy link
Contributor

Backport of #1633 with adjustments for llvm_release_90

This proposed bugfix updates the integer dot translation to use the correct function names from the OpenCL extension specification for packed format with scalar integer arguments (i.e. dot_4x8packed or dot_acc_sat_4x8packed instead of dot or dot_acc_sat with scalar integer arguments) to translate them into proper OpCodes. This is a fix for incorrect function names introduced in #1174
Additionally removed unused variables from visitCallDot to clean up the code.
Link to OpenCL spec:
https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_Ext.html#cl_khr_integer_dot_product

Changed the integer dot translation to use the correct function names
(i.e. dot_4x8packed or dot_acc_sat_4x8packed) to translate them into
proper OpCodes. Additionally removed unused variables from visitCallDot.
@MrSidims MrSidims merged commit d9260d9 into KhronosGroup:llvm_release_90 Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants