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
1e8b1b35
Unverified
Commit
1e8b1b35
authored
Aug 12, 2019
by
Ramesh Errabolu
Committed by
GitHub
Aug 12, 2019
Browse files
Merge pull request #46 from RadeonOpenCompute/fixStringStreamError
Fix compilation issue for unreachable statements
parents
be6a8ba0
28cde93b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
rocm_bandwidth_test.cpp
rocm_bandwidth_test.cpp
+1
-1
rocm_bandwidth_test_print.cpp
rocm_bandwidth_test_print.cpp
+1
-0
No files found.
rocm_bandwidth_test.cpp
View file @
1e8b1b35
...
@@ -789,7 +789,7 @@ RocmBandwidthTest::RocmBandwidthTest(int argc, char** argv) : BaseTest() {
...
@@ -789,7 +789,7 @@ RocmBandwidthTest::RocmBandwidthTest(int argc, char** argv) : BaseTest() {
// Initialize version of the test
// Initialize version of the test
version_
.
major_id
=
2
;
version_
.
major_id
=
2
;
version_
.
minor_id
=
3
;
version_
.
minor_id
=
3
;
version_
.
step_id
=
2
;
version_
.
step_id
=
3
;
version_
.
reserved
=
0
;
version_
.
reserved
=
0
;
bw_iter_cnt_
=
getenv
(
"ROCM_BW_ITER_CNT"
);
bw_iter_cnt_
=
getenv
(
"ROCM_BW_ITER_CNT"
);
...
...
rocm_bandwidth_test_print.cpp
View file @
1e8b1b35
...
@@ -204,6 +204,7 @@ std::string GetValueAsString(uint32_t key, uint32_t value) {
...
@@ -204,6 +204,7 @@ std::string GetValueAsString(uint32_t key, uint32_t value) {
}
}
std
::
cout
<<
"An illegal key to get value for"
<<
std
::
endl
;
std
::
cout
<<
"An illegal key to get value for"
<<
std
::
endl
;
assert
(
false
);
assert
(
false
);
return
""
;
}
}
void
RocmBandwidthTest
::
PrintLinkPropsMatrix
(
uint32_t
key
)
const
{
void
RocmBandwidthTest
::
PrintLinkPropsMatrix
(
uint32_t
key
)
const
{
...
...
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