npkit: separate network timing between send and test (#798)

This commit is contained in:
Wenkai Du
2023-07-10 09:31:49 -07:00
committed by GitHub
parent c095424e4d
commit 0f14e5a640
4 changed files with 39 additions and 1 deletions
+3
View File
@@ -109,5 +109,8 @@
#define NPKIT_EVENT_ALL_GATHER_RING_DIRECT_RECV_ENTRY 0x56
#define NPKIT_EVENT_ALL_GATHER_RING_DIRECT_RECV_EXIT 0x57
#define NPKIT_EVENT_NET_TEST_ENTRY 0x58
#define NPKIT_EVENT_NET_TEST_EXIT 0x59
#endif
+1
View File
@@ -74,6 +74,7 @@ struct ncclProxySubArgs {
#if defined(ENABLE_NPKIT) && defined(ENABLE_NPKIT_EVENT_NET_SEND_ENTRY) && defined(ENABLE_NPKIT_EVENT_NET_SEND_EXIT)
int npKitSizesFifo[NCCL_STEPS];
uint64_t timestamp[NCCL_STEPS];
#endif
};