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

Sizeof behavior is different between Dbg vs Rls builds

parent 055e72c8
......@@ -341,7 +341,7 @@ void RocmBandwidthTest::ParseArguments() {
// Initialize the list of buffer sizes to use in copy/read/write operations
// For All Copy operations use only one buffer size
if (size_list_.size() == 0) {
uint32_t size_len = sizeof(SIZE_LIST)/sizeof(uint32_t);
uint32_t size_len = sizeof(SIZE_LIST)/sizeof(size_t);
for (uint32_t idx = 0; idx < size_len; idx++) {
if (req_copy_all_bidir_ == REQ_COPY_ALL_BIDIR) {
......
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