-
Notifications
You must be signed in to change notification settings - Fork 504
[XDP] Initial NPU3 support #9130
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
…d DMA direction for private buffer pool Signed-off-by: Jain <[email protected]>
Signed-off-by: Jain <[email protected]>
Signed-off-by: Jain <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Jain <[email protected]>
Signed-off-by: Jain <[email protected]>
This reverts commit 9b4dd94.
Signed-off-by: Jain <[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
uint8_t burstLength; | ||
uint8_t type; | ||
|
||
TraceGMIO(uint32_t i, uint8_t col, uint8_t num, |
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: 6 adjacent parameters of 'TraceGMIO' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters]
TraceGMIO(uint32_t i, uint8_t col, uint8_t num,
^
Additional context
src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214: the first parameter in the range is 'i'
TraceGMIO(uint32_t i, uint8_t col, uint8_t num,
^
src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:215: the last parameter in the range is 't'
uint8_t stream, uint8_t len, uint8_t t = 0)
^
src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214:
TraceGMIO(uint32_t i, uint8_t col, uint8_t num,
^
src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214: 'uint32_t' and 'uint8_t' may be implicitly converted: 'uint32_t' (as 'unsigned int') -> 'uint8_t' (as 'unsigned char'), 'uint8_t' (as 'unsigned char') -> 'uint32_t' (as 'unsigned int')
TraceGMIO(uint32_t i, uint8_t col, uint8_t num,
^
configWriter = new AieTraceConfigWriter(configFile.c_str(), deviceID); | ||
writers.push_back(configWriter); | ||
(db->getStaticInfo()) | ||
.addOpenedFile(configWriter->getcurrentFileName(), |
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: no member named 'addOpenedFile' in 'xdp::VPStaticDatabase' [clang-diagnostic-error]
.addOpenedFile(configWriter->getcurrentFileName(),
^
Signed-off-by: Paul Schumacher <[email protected]>
fd0a41a
to
d475a92
Compare
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.
Rebase against latest master.
d475a92
to
fd0a41a
Compare
Signed-off-by: Jyotheeswar Ganne <[email protected]>
On behalf of Jain <[email protected]>, I, Paul Schumacher <[email protected]>, hereby add my Signed-off-by to this commit: 304f91d Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
…aie_devel Signed-off-by: Jain <[email protected]>
… in aie_profile npu3 Signed-off-by: Jyotheeswar Ganne <[email protected]>
Problem solved by the commit
XDP needed support for NPU3
How problem was solved, alternative solutions (if any) and why they were rejected
Added extensive support for NPU3
Risks (if any) associated the changes in the commit
Support affects many files and build environments
What has been tested and how, request additional testing if necessary
Simulation of NPU3
Documentation impact (if any)
New events, metric sets, etc.