Technically speaking, we're creating a QP with 1 send WQE and 1
receive WQE, so it's good form to have a CQ with 2 entries, not 1. This commit was SVN r28256.
Этот коммит содержится в:
родитель
9c6374b515
Коммит
64d39a4e97
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012-2013 Cisco Systems, Inc. All rights reserved.
|
||||
*
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
@ -71,7 +71,7 @@ int ompi_common_verbs_qp_test(struct ibv_context *device_context, int flags)
|
||||
return OMPI_ERR_OUT_OF_RESOURCE;
|
||||
}
|
||||
|
||||
cq = ibv_create_cq(device_context, 1, NULL, NULL, 0);
|
||||
cq = ibv_create_cq(device_context, 2, NULL, NULL, 0);
|
||||
if (NULL == cq) {
|
||||
rc = OMPI_ERR_OUT_OF_RESOURCE;
|
||||
goto out;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user