diff --git a/test/common/PtrUnion.hpp b/test/common/PtrUnion.hpp index f29d41a0bc..d905648942 100644 --- a/test/common/PtrUnion.hpp +++ b/test/common/PtrUnion.hpp @@ -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);