-
Notifications
You must be signed in to change notification settings - Fork 485
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
AIE Halt Plugin for VE2 #8808
base: master
Are you sure you want to change the base?
AIE Halt Plugin for VE2 #8808
Conversation
…s for 4x4 design Signed-off-by: Ishita Ghosh <[email protected]>
Signed-off-by: Ishita Ghosh <[email protected]>
…ails. Eliminate AIE RT dependency as custom elf is used for now. Signed-off-by: Ishita Ghosh <[email protected]>
…with halt instructions Signed-off-by: Ishita Ghosh <[email protected]>
Signed-off-by: Ishita Ghosh <[email protected]>
Signed-off-by: Ishita Ghosh <[email protected]>
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.
clang-tidy made some suggestions
|
||
namespace xdp { | ||
|
||
class AIEHaltVE2Impl : public AIEHaltImpl |
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.
warning: class 'AIEHaltVE2Impl' defines a default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]
class AIEHaltVE2Impl : public AIEHaltImpl
^
{ | ||
|
||
public : | ||
AIEHaltVE2Impl(VPDatabase* dB); |
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.
warning: single-argument constructors must be marked explicit to avoid unintentional implicit conversions [hicpp-explicit-conversions]
AIEHaltVE2Impl(VPDatabase* dB); | |
explicit AIEHaltVE2Impl(VPDatabase* dB); |
public : | ||
AIEHaltVE2Impl(VPDatabase* dB); | ||
|
||
~AIEHaltVE2Impl() = default; |
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.
warning: annotate this function with 'override' or (rarely) 'final' [hicpp-use-override]
~AIEHaltVE2Impl() = default; | |
~AIEHaltVE2Impl() override = default; |
|
||
~AIEHaltVE2Impl() = default; | ||
|
||
virtual void updateDevice(void* hwCtxImpl); |
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.
warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [cppcoreguidelines-explicit-virtual-functions]
virtual void updateDevice(void* hwCtxImpl); | |
void updateDevice(void* hwCtxImpl) override; |
~AIEHaltVE2Impl() = default; | ||
|
||
virtual void updateDevice(void* hwCtxImpl); | ||
virtual void finishflushDevice(void* hwCtxImpl); |
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.
warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [cppcoreguidelines-explicit-virtual-functions]
virtual void finishflushDevice(void* hwCtxImpl); | |
void finishflushDevice(void* hwCtxImpl) override; |
Problem solved by the commit
Support AIE Halt Plugin for VE2.
The PR also contains some cleanup for ML Timeline Plugin on VE2.
Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered
How problem was solved, alternative solutions (if any) and why they were rejected
Risks (if any) associated the changes in the commit
What has been tested and how, request additional testing if necessary
Build for VE2 and Unit tests on VE2 board
Documentation impact (if any)