Skip to content

Comments

[Backport to 13] Integer dot product 4x8 packed translation#1652

Merged
svenvh merged 1 commit intoKhronosGroup:llvm_release_130from
Quetzonarch:integer-dot-product-packed-130
Oct 17, 2022
Merged

[Backport to 13] Integer dot product 4x8 packed translation#1652
svenvh merged 1 commit intoKhronosGroup:llvm_release_130from
Quetzonarch:integer-dot-product-packed-130

Conversation

@Quetzonarch
Copy link
Contributor

Backport of #1633 with adjustments for llvm_release_130

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
@svenvh svenvh merged commit d6ffeb3 into KhronosGroup:llvm_release_130 Oct 17, 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.

3 participants