Commit 28cde93b authored by Ramesh Errabolu's avatar Ramesh Errabolu
Browse files

Fix compilation issue for unreachable statements

parent be6a8ba0
...@@ -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");
......
...@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment