diff --git a/src/ib.cc b/src/ib.cc index 7e77b235..1e3e0af6 100644 --- a/src/ib.cc +++ b/src/ib.cc @@ -128,6 +128,7 @@ IbQp::IbQp(void* ctx, void* pd, int port) throw std::runtime_error(err.str()); } this->qp = _qp; + this->wrn = 0; MSCCLPPTHROW(mscclppCalloc(reinterpret_cast(&this->wrs), MSCCLPP_IB_MAX_SENDS)); MSCCLPPTHROW(mscclppCalloc(reinterpret_cast(&this->sges), MSCCLPP_IB_MAX_SENDS)); MSCCLPPTHROW(mscclppCalloc(reinterpret_cast(&this->wcs), MSCCLPP_IB_CQ_POLL_NUM));