Add a constructor for PtrUnion in case it is not initialized explicitly (#1064)

[ROCm/rccl commit: ba9f7917ba]
이 커밋은 다음에 포함됨:
Shilei Tian 작성하고 GitHub가 2024-01-26 08:00:27 -08:00를 커밋함
1 부모 a184aabda5
커밋 49f0e82815
1 파일이 변경됨
+2
+2
파일 보기
@@ -47,6 +47,8 @@ namespace RcclUnitTesting
double* F8; // ncclFloat64
rccl_bfloat16* B2; // ncclBfloat16
constexpr PtrUnion() : ptr(nullptr) {}
ErrCode Attach(void *ptr);
ErrCode Attach(PtrUnion ptrUnion);