Unverified Commit 1d362745 authored by Ramesh Errabolu's avatar Ramesh Errabolu Committed by GitHub
Browse files

Merge pull request #79 from RadeonOpenCompute/fixPoolBinding

Discard fine-grained pools that are NOT kernarg true
parents 95ee0a39 0e049601
......@@ -815,8 +815,8 @@ RocmBandwidthTest::RocmBandwidthTest(int argc, char** argv) : BaseTest() {
// Initialize version of the test
version_.major_id = 2;
version_.minor_id = 5;
version_.step_id = 1;
version_.minor_id = 6;
version_.step_id = 0;
version_.reserved = 0;
// Test impact of sleep, temp code
......
......@@ -116,7 +116,10 @@ hsa_status_t MemPoolInfo(hsa_amd_memory_pool_t pool, void* data) {
return HSA_STATUS_SUCCESS;
}
} 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;
}
}
......
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