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

AIE Halt Plugin for VE2 #8808

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

IshitaGhosh
Copy link
Collaborator

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)

Ishita Ghosh added 6 commits March 5, 2025 15:29
…ails. Eliminate AIE RT dependency as custom elf is used for now.

Signed-off-by: Ishita Ghosh <[email protected]>
Signed-off-by: Ishita Ghosh <[email protected]>
Signed-off-by: Ishita Ghosh <[email protected]>
Copy link

@github-actions github-actions bot left a 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
Copy link

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);
Copy link

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]

Suggested change
AIEHaltVE2Impl(VPDatabase* dB);
explicit AIEHaltVE2Impl(VPDatabase* dB);

public :
AIEHaltVE2Impl(VPDatabase* dB);

~AIEHaltVE2Impl() = default;
Copy link

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]

Suggested change
~AIEHaltVE2Impl() = default;
~AIEHaltVE2Impl() override = default;


~AIEHaltVE2Impl() = default;

virtual void updateDevice(void* hwCtxImpl);
Copy link

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]

Suggested change
virtual void updateDevice(void* hwCtxImpl);
void updateDevice(void* hwCtxImpl) override;

~AIEHaltVE2Impl() = default;

virtual void updateDevice(void* hwCtxImpl);
virtual void finishflushDevice(void* hwCtxImpl);
Copy link

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]

Suggested change
virtual void finishflushDevice(void* hwCtxImpl);
void finishflushDevice(void* hwCtxImpl) override;

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.

1 participant