changing pool size from log2 to bytes

This commit is contained in:
Evgeny
2019-02-04 17:57:16 -06:00
parent 940fe8e14f
commit 2b0452fd5f
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ extern "C" PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version,
printf(" HIP-trace()\n");
// Allocating tracing pool
roctracer_properties_t properties{};
properties.buffer_size = 12;
properties.buffer_size = 0x1000;
properties.buffer_callback_fun = hcc_activity_callback;
ROCTRACER_CALL(roctracer_open_pool(&properties));
ROCTRACER_CALL(roctracer_enable_domain_activity(ACTIVITY_DOMAIN_HCC_OPS));