Skip to content

Misc APIs: hipDeviceGetName, hipKernelNameRef. #9097

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

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

Conversation

svup-xilinx
Copy link

@svup-xilinx svup-xilinx commented Jul 28, 2025

Problem solved by the commit

Implementing hip miscellaneous functions - hipDeviceGetName, hipKernelNameRef.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

None

How problem was solved, alternative solutions (if any) and why they were rejected

Risks (if any) associated the changes in the commit

Low

What has been tested and how, request additional testing if necessary

Tested on Linux Strix machine
device name is printed as NPU Strix.
kernel name is printed as DPU
used rom_vbnv for printing device name

Documentation impact (if any)

NA

@gbuildx
Copy link
Collaborator

gbuildx commented Jul 28, 2025

svup-xilinx - is not a collaborator
Can XRT admins please validate PR

@gbuildx
Copy link
Collaborator

gbuildx commented Jul 28, 2025

Can one of the admins verify this patch?

Copy link

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

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

Minors

Comment on lines 4 to 5
#include"core/common/device.h"
#include"core/common/query_requests.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
#include"core/common/device.h"
#include"core/common/query_requests.h"
#include "core/common/device.h"
#include "core/common/query_requests.h"

xrt_core::send_exception_message(ex.what());
}
return nullptr;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add missing newline

@gbuildx
Copy link
Collaborator

gbuildx commented Jul 28, 2025

svup-xilinx - is not a collaborator
Can XRT admins please validate PR

Copy link

clang-tidy review says "All clean, LGTM! 👍"

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.

3 participants