Skip to content

Commit b419497

Browse files
sraikund16facebook-github-bot
authored andcommitted
add debug for roctracer rccl events (#982)
Summary: Pull Request resolved: #982 Differential Revision: D61943373
1 parent 58ed2c0 commit b419497

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libkineto/src/RoctracerLogger.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ void RoctracerLogger::activity_callback(const char* begin, const char* end, void
303303
const roctracer_record_t* end_record = (const roctracer_record_t*)(end);
304304

305305
while (record < end_record) {
306+
if (record->correlation_id == 0) {
307+
LOG(WARNING) << "Correlation id is 0 for record: " << demangle(record->kernel_name);
308+
}
306309
if (record->correlation_id > s_flush.maxCompletedCorrelationId_) {
307310
s_flush.maxCompletedCorrelationId_ = record->correlation_id;
308311
}

0 commit comments

Comments
 (0)