-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Outdated, see #13790][CPU] StackAllocator for JIT kernels #13132
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
Closed
lohika-denis-kotov
wants to merge
20
commits into
openvinotoolkit:master
from
lohika-denis-kotov:feature/stack_allocator
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5b10966
Initial implementation for StackAllocator
lohika-denis-kotov f5d563c
Created StackAllocatorTest
lohika-denis-kotov 6a6aab3
Added StackAllocator::Reg<> for simplifing saving registers on stack
lohika-denis-kotov a6c148d
Added tests for new StackAllocator::Reg<> class
lohika-denis-kotov d4e4ce6
Added alignment for StackAllocator
lohika-denis-kotov 092b739
Added saving data from stack to register
lohika-denis-kotov 3b12678
Update tests for StackAllocator
lohika-denis-kotov 937de86
Added Transaction class
lohika-denis-kotov a0ec185
Updated stack_allocator test for Transaction
lohika-denis-kotov 28c56ad
Updated tests for StackAllocator for Transaction
lohika-denis-kotov e70e1a7
Made StackAllocator::Address not copiable and movable
lohika-denis-kotov 7bf863c
Changed names of variables in tests for StackAllocator
lohika-denis-kotov 5104f83
Fixed name of types for IsaParam
lohika-denis-kotov 126f609
Added tests for StackAllocator::Reg<Xbyak::Xmm> and StackAllocator::R…
lohika-denis-kotov 905c8e0
Renamed some tests to describe what it is doing
lohika-denis-kotov e95f4e5
Pass StackAllocator to Transaction, Address and Reg<> by reference
lohika-denis-kotov 4de9d1a
Made StackAllocator::Address isInitialized() public and added explici…
lohika-denis-kotov ca20c13
Fix CI issue with redefinition of struct IsaParam
lohika-denis-kotov cc891cb
Remove using using namespace dnnl::impl::cpu; and changed it to alias
lohika-denis-kotov 99650b4
Fix macos compile-time issues
lohika-denis-kotov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
As far as I can see only
x64::cpu_isa_tis used. M.b. it does make sense to use an alias for this type on theRegistersPoollevel:So, within this header it can be accessed just as follows
RegistersPool::cpu_isa_tWhat do you think?
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.
We also have other references to x64 namespace in this header like x64::cpu_isa_traits and cpu_isa_t enum members.
Uh oh!
There was an error while loading. Please reload this page.
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.
Do not see an elegant solution here, since the whole class is intended to be used with dnnl::impl::cpu::x64::cpu_isa_t members, and we do not have a possibility to import enumeration to the class (it has been introduced in c++20). I guess we should think about wrapping some dnnl entities on jit_base level.