Skip to content
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

[CPU] fix qkv_proj/mlp jit kernel's win32 support #28915

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

usstq
Copy link
Contributor

@usstq usstq commented Feb 11, 2025

Details:

  • MSVC on win32 platform has x64 calling conversion different from Linux, this change added a fix to jit kernel to support win32 system

Tickets:

@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Feb 11, 2025
Copy link
Contributor

@luo-cheng2021 luo-cheng2021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Xbyak::Reg64 src1 = r8;
Xbyak::Reg64 dst = r9;
Xbyak::Reg64 prefetch_dst = r10;
Xbyak::Reg64 BN = r11;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for note: from doc: rax, rcx, rdx, r9-r11 could be used in the callee without protection.

@usstq usstq marked this pull request as ready for review February 11, 2025 07:31
@usstq usstq requested review from a team as code owners February 11, 2025 07:31
@dmitry-gorokhov dmitry-gorokhov added this to the 2025.1 milestone Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPU OpenVINO CPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants