Skip to content

Commit

Permalink
add debug for roctracer rccl events
Browse files Browse the repository at this point in the history
Differential Revision: D61943373
  • Loading branch information
sraikund16 authored and facebook-github-bot committed Aug 28, 2024
1 parent 58ed2c0 commit 3988099
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libkineto/src/RoctracerLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ void RoctracerLogger::activity_callback(const char* begin, const char* end, void
const roctracer_record_t* end_record = (const roctracer_record_t*)(end);

while (record < end_record) {
if (record->correlation_id == 0) {
LOG(WARNING) << "Correlation id is 0 for record: " << demangle(record->kernel_name);
}
if (record->correlation_id > s_flush.maxCompletedCorrelationId_) {
s_flush.maxCompletedCorrelationId_ = record->correlation_id;
}
Expand Down

0 comments on commit 3988099

Please sign in to comment.