roctacer mark fix

[ROCm/roctracer commit: 389496265e]
Tá an tiomantas seo le fáil i:
Evgeny tiomanta 2019-09-24 20:35:58 -05:00
1 tuismitheoir 24b9c79412
tiomantas 482e665b2a
5 comhad athraithe
+21 -15

Níor tháinig aon chomhaid le do chuardach

+1 -1
Féach ar an gComhad
@@ -1003,7 +1003,7 @@ PUBLIC_API roctracer_status_t roctracer_activity_pop_external_correlation_id(act
// Mark API
PUBLIC_API void roctracer_mark(const char* str) {
if (mark_api_callback_ptr) {
mark_api_callback_ptr(ACTIVITY_DOMAIN_NUMBER, ACTIVITY_EXT_OP_MARK, str, NULL);
mark_api_callback_ptr(ACTIVITY_DOMAIN_EXT_API, ACTIVITY_EXT_OP_MARK, str, NULL);
roctracer::GlobalCounter::Increment(); // account for user-defined markers when tracking correlation id
}
}