improving kernel traces on opCount bits and adding channelId in ncclCollTrace (#1485)

[ROCm/rccl commit: 69d0134ed2]
这个提交包含在:
Dingming Wu 编写, GitHub 于 2025-01-10 07:57:46 -08:00 提交
1 父节点 b9e7e3024b
当前提交 b6ae2fd71d
3 个文件已更改
+9 -7

没有与搜索条件相匹配的文件

+3 -2
查看文件
@@ -298,7 +298,7 @@ struct ncclWorkElemP2p {
};
};
uint8_t reg:1;
uint16_t opCount:12;
uint16_t opCount:15;
// Important not to use any fields with greater than 4-byte alignment since
// we need sizeof(ncclWorkElemP2p)==28, but that would be padded up to 32 if
// there were 8-byte fields.
@@ -378,7 +378,8 @@ struct ncclCollTrace {
uint8_t bid;
int16_t funcIndex;
uint32_t data_0;
uint64_t timeStamp;
uint8_t channelId;
uint64_t timeStamp:56;
union {
uint64_t opCount;
uint32_t p2pOpCount[2];