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

此提交包含在:
Wenkai Du authored and GitHub committed 2023-07-10 09:31:49 -07:00
1 父節點 c095424e4d
當前提交 0f14e5a640
4 file changed
+39 -1

No files matched your search

+3
查看文件
@@ -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
查看文件
@@ -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
};