Calculate and use total wait cycles for RCCL profiling

[ROCm/rccl commit: c9aa11928a]
Tá an tiomantas seo le fáil i:
Wenkai Du
2020-05-22 15:03:52 -07:00
tuismitheoir 15cd2aff3c
tiomantas bc6840f937
D'athraigh 5 comhad le 20 breiseanna agus 25 scriosta
+2 -2
Féach ar an gComhad
@@ -232,8 +232,8 @@ struct ncclProf {
union {
struct {
uint64_t total_cycle;
uint64_t wait_send_cycle[MAXCHANNELS];
uint64_t wait_recv_cycle[MAXCHANNELS];
uint64_t wait_cycle[MAXCHANNELS]; // total wait cycle
uint64_t wait_recv_cycle[MAXCHANNELS]; // recv wait cycle
// primtive cycles
uint64_t send_cycle;
uint64_t directSend_cycle;