Commit f55f1cb7 authored by Ramesh Errabolu's avatar Ramesh Errabolu
Browse files

Fix build error on SUSE Linux distribution

parent 6a418db7
...@@ -52,6 +52,9 @@ ...@@ -52,6 +52,9 @@
#include <sstream> #include <sstream>
#include <limits> #include <limits>
// Initialize the variable used to capture validation failure
const double RocmBandwidthTest::VALIDATE_COPY_OP_FAILURE = std::numeric_limits<double>::max();
// The values are in megabytes at allocation time // The values are in megabytes at allocation time
const size_t RocmBandwidthTest::SIZE_LIST[] = { 1 * 1024, const size_t RocmBandwidthTest::SIZE_LIST[] = { 1 * 1024,
2 * 1024, 4 * 1024, 8 * 1024, 2 * 1024, 4 * 1024, 8 * 1024,
...@@ -793,7 +796,7 @@ RocmBandwidthTest::RocmBandwidthTest(int argc, char** argv) : BaseTest() { ...@@ -793,7 +796,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 = 6; version_.step_id = 7;
version_.reserved = 0; version_.reserved = 0;
bw_iter_cnt_ = getenv("ROCM_BW_ITER_CNT"); bw_iter_cnt_ = getenv("ROCM_BW_ITER_CNT");
......
...@@ -474,7 +474,7 @@ class RocmBandwidthTest : public BaseTest { ...@@ -474,7 +474,7 @@ class RocmBandwidthTest : public BaseTest {
static const uint32_t LINK_PROP_ACCESS = 0x03; static const uint32_t LINK_PROP_ACCESS = 0x03;
// Encodes validation failure // Encodes validation failure
static const double VALIDATE_COPY_OP_FAILURE = 0xFFFFFFFF.FFFFFFFFp0; static const double VALIDATE_COPY_OP_FAILURE;
// List used to store transactions per user request // List used to store transactions per user request
vector<async_trans_t> trans_list_; vector<async_trans_t> trans_list_;
......
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