Commit 0e049601 authored by Ramesh Errabolu's avatar Ramesh Errabolu
Browse files

Discard fine-grained pools that are NOT kernarg true

parent 95ee0a39
...@@ -815,8 +815,8 @@ RocmBandwidthTest::RocmBandwidthTest(int argc, char** argv) : BaseTest() { ...@@ -815,8 +815,8 @@ 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 = 5; version_.minor_id = 6;
version_.step_id = 1; version_.step_id = 0;
version_.reserved = 0; version_.reserved = 0;
// Test impact of sleep, temp code // Test impact of sleep, temp code
......
...@@ -116,7 +116,10 @@ hsa_status_t MemPoolInfo(hsa_amd_memory_pool_t pool, void* data) { ...@@ -116,7 +116,10 @@ hsa_status_t MemPoolInfo(hsa_amd_memory_pool_t pool, void* data) {
return HSA_STATUS_SUCCESS; return HSA_STATUS_SUCCESS;
} }
} else { } else {
if (is_fine_grained == false) { // Skip pools that are one of the following:
// Coarse grained
// Fine grained with kernarg being false
if ((is_fine_grained == false) || (is_kernarg == false)) {
return HSA_STATUS_SUCCESS; return HSA_STATUS_SUCCESS;
} }
} }
......
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