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
25401b21
Commit
25401b21
authored
Feb 08, 2021
by
Ramesh Errabolu
Browse files
Print UUID of device for bandwidth runs
parent
26d40c2c
Changes
1
Hide 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 @
25401b21
...
@@ -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