Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
sycl : implementation of reordered Q4_0 MMVQ for Intel GPUs #12858
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
sycl : implementation of reordered Q4_0 MMVQ for Intel GPUs #12858
Changes from 13 commits
187451b
9c8d809
52b1622
e8555ab
b60d637
fc768f3
c7500c9
1e0c4cf
de60819
dc19cd5
351ef2b
34f7bed
d61dda3
48480c8
6afb367
6fe27eb
e809b07
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest only call opt_for_order() here, instead of call 2 functions.
Suggest like:
opt_for_reorder(&ctx, src0, src1, dst, mm_type = MM_TYPE_DMMV) {
if (mm_type == MM_TYPE_DMMV) {
if (src0->type!=Q4_0) return;
}
if (mm_type == MM_TYPE_MMVQ) {
if (src0->type!=Q4_0) return;
}
....
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments for following similar code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, you're right, it's more readable now. See 48480c8 for the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great!