mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-11 17:00:22 +00:00
Gather size 4
This commit is contained in:
@@ -72,8 +72,8 @@ IbQp::IbQp(ibv_context* ctx, ibv_pd* pd, int port, int maxCqSize, int maxCqPollN
|
||||
qpInitAttr.qp_type = IBV_QPT_RC;
|
||||
qpInitAttr.cap.max_send_wr = maxSendWr;
|
||||
qpInitAttr.cap.max_recv_wr = maxRecvWr;
|
||||
qpInitAttr.cap.max_send_sge = 1;
|
||||
qpInitAttr.cap.max_recv_sge = 1;
|
||||
qpInitAttr.cap.max_send_sge = maxNumSgesPerWr;
|
||||
qpInitAttr.cap.max_recv_sge = maxNumSgesPerWr;
|
||||
qpInitAttr.cap.max_inline_data = 0;
|
||||
|
||||
struct ibv_qp* _qp = ibv_create_qp(pd, &qpInitAttr);
|
||||
|
||||
@@ -36,7 +36,7 @@ void IbPeerToPeerTest::SetUp() {
|
||||
bootstrap->initialize(id);
|
||||
|
||||
ibCtx = std::make_shared<mscclpp::IbCtx>(ibDevName);
|
||||
qp = ibCtx->createQp(1024, 1, 8192, 0, 64, 1);
|
||||
qp = ibCtx->createQp(1024, 1, 8192, 0, 64, 4);
|
||||
|
||||
int remoteRank = (gEnv->rank == 0) ? 1 : 0;
|
||||
|
||||
@@ -315,7 +315,7 @@ TEST_F(IbPeerToPeerTest, SendGather) {
|
||||
|
||||
mscclpp::Timer timeout(3);
|
||||
|
||||
const int numDataSrcs = 1;
|
||||
const int numDataSrcs = 4;
|
||||
const int nelemPerMr = 1024;
|
||||
|
||||
// Gather send from rank 0 to 1
|
||||
|
||||
Reference in New Issue
Block a user