Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
rocm_bandwidth_test
Commits
6e04c2e4
Unverified
Commit
6e04c2e4
authored
Feb 08, 2021
by
Ramesh Errabolu
Committed by
GitHub
Feb 08, 2021
Browse files
Merge pull request #70 from RadeonOpenCompute/print_UUID_Topology
Print UUID of device for bandwidth runs
parents
b147d2a3
25401b21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
rocm_bandwidth_test_report.cpp
rocm_bandwidth_test_report.cpp
+1
-0
No files found.
rocm_bandwidth_test_report.cpp
View file @
6e04c2e4
...
@@ -367,6 +367,7 @@ void RocmBandwidthTest::DisplayDevInfo() const {
...
@@ -367,6 +367,7 @@ void RocmBandwidthTest::DisplayDevInfo() const {
std
::
cout
<<
", "
<<
agent_list_
[
idx
].
name_
;
std
::
cout
<<
", "
<<
agent_list_
[
idx
].
name_
;
bool
gpuDevice
=
(
agent_list_
[
idx
].
device_type_
==
HSA_DEVICE_TYPE_GPU
);
bool
gpuDevice
=
(
agent_list_
[
idx
].
device_type_
==
HSA_DEVICE_TYPE_GPU
);
if
(
gpuDevice
)
{
if
(
gpuDevice
)
{
std
::
cout
<<
", "
<<
agent_list_
[
idx
].
uuid_
;
std
::
cout
<<
", "
<<
agent_list_
[
idx
].
bdf_id_
;
std
::
cout
<<
", "
<<
agent_list_
[
idx
].
bdf_id_
;
}
}
std
::
cout
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment