hip api events buffering fix

Este commit está contenido en:
Evgeny
2019-07-16 23:36:41 -05:00
padre de7076b7b8
commit a83f2d3c56
Se han modificado 3 ficheros con 26 adiciones y 12 borrados
+1 -1
Ver fichero
@@ -167,7 +167,7 @@ TraceBuffer<trace_entry_t>::flush_prm_t trace_buffer_prm[] = {
{roctracer::COPY_ENTRY_TYPE, hsa_async_copy_handler},
{roctracer::KERNEL_ENTRY_TYPE, hsa_kernel_handler}
};
TraceBuffer<trace_entry_t> trace_buffer(0x200000, trace_buffer_prm, 2);
TraceBuffer<trace_entry_t> trace_buffer("HSA GPU", 0x200000, trace_buffer_prm, 2);
namespace hsa_support {
// callbacks table
+2 -1
Ver fichero
@@ -61,7 +61,8 @@ class TraceBuffer {
callback_t fun;
};
TraceBuffer(uint32_t size, flush_prm_t* flush_prm_arr, uint32_t flush_prm_count) {
TraceBuffer(const char* name, uint32_t size, flush_prm_t* flush_prm_arr, uint32_t flush_prm_count) {
(void) name;
size_ = size;
data_ = allocate_fun();
next_ = NULL;