From bb3239fd6b7fe91e277eb80a3a33b238caf45155 Mon Sep 17 00:00:00 2001 From: Binyang Li Date: Thu, 4 May 2023 11:03:45 +0000 Subject: [PATCH] Fix IB write issue --- src/ib.cc | 1 + 1 file changed, 1 insertion(+) 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));