hip-vdi changes

Cette révision appartient à :
Evgeny
2019-10-25 00:53:26 -05:00
Parent 064a7021a0
révision eb4bf2dac6
5 fichiers modifiés avec 17 ajouts et 7 suppressions
+2
Voir le fichier
@@ -324,10 +324,12 @@ void* HIP_SyncActivityCallback(
if ((data == NULL) && (pool != NULL)) EXC_ABORT(ROCTRACER_STATUS_ERROR, "ActivityCallback enter: pool is not NULL");
// Allocating a record if NULL passed
if (record == NULL) {
if (data != NULL) EXC_ABORT(ROCTRACER_STATUS_ERROR, "ActivityCallback enter: record is NULL");
record_pair_stack.push({});
auto& top = record_pair_stack.top();
record = &(top.record);
data_ptr = &(top.data.hip);
data = data_ptr;
}
// Filing record info