disabling destruction

Change-Id: I2a7d05a8f597b3bc8bd07bffe7181f9dcace1cbf


[ROCm/rocprofiler commit: 9950b97567]
Este commit está contenido en:
Evgeny
2020-05-07 03:34:30 -05:00
padre fe6ccb07d3
commit 7d2307424e
Se han modificado 4 ficheros con 78 adiciones y 4 borrados
+3 -1
Ver fichero
@@ -1241,6 +1241,7 @@ void rocprofiler_unload(bool is_destr) {
}
fflush(stdout);
#if 0
// Cleanup
if (callbacks_data != NULL) {
delete[] callbacks_data->features;
@@ -1255,8 +1256,9 @@ void rocprofiler_unload(bool is_destr) {
kernel_string_vec = NULL;
delete range_vec;
range_vec = NULL;
if (!is_destr) delete context_array;
delete context_array;
context_array = NULL;
#endif
ONLOAD_TRACE_END();
}