changing pool size from log2 to bytes

Este cometimento está contido em:
Evgeny cometeu 2019-02-04 17:57:45 -06:00
1 ascendente 940fe8e14f
cometimento 2b0452fd5f
3 ficheiros modificados
+3 -5

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -247,7 +247,7 @@ void init_tracing() {
std::cout << "# START #############################" << std::endl << std::flush;
// Allocating tracing pool
roctracer_properties_t properties{};
properties.buffer_size = 12;
properties.buffer_size = 0x1000;
properties.buffer_callback_fun = activity_callback;
ROCTRACER_CALL(roctracer_open_pool(&properties));
}
+1 -1
Ver ficheiro
@@ -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));