Add a constructor for PtrUnion in case it is not initialized explicitly (#1064)
[ROCm/rccl commit: ba9f7917ba]
이 커밋은 다음에 포함됨:
1 부모
a184aabda5
커밋
49f0e82815
1 파일이 변경됨
+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);
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단