Fixed two warnings (especially the one that get repeted a large number of times in 64bit builds)
This commit was SVN r17197.
Этот коммит содержится в:
родитель
a9045402c4
Коммит
11815d9773
@ -14,11 +14,13 @@
|
|||||||
#include "ompi_config.h"
|
#include "ompi_config.h"
|
||||||
#include "opal/mca/base/mca_base_param.h"
|
#include "opal/mca/base/mca_base_param.h"
|
||||||
#include "ompi/mca/pml/base/pml_base_request.h"
|
#include "ompi/mca/pml/base/pml_base_request.h"
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
BEGIN_C_DECLS
|
BEGIN_C_DECLS
|
||||||
|
|
||||||
|
/* Make sure -Wformat is happy... */
|
||||||
typedef uint64_t vprotocol_pessimist_clock_t;
|
typedef uint64_t vprotocol_pessimist_clock_t;
|
||||||
#define PRIpclock "llx"
|
#define PRIpclock PRIx64
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
VPROTOCOL_PESSIMIST_EVENT_TYPE_MATCHING,
|
VPROTOCOL_PESSIMIST_EVENT_TYPE_MATCHING,
|
||||||
|
@ -23,13 +23,13 @@ OBJ_CLASS_INSTANCE(mca_vprotocol_pessimist_send_request_t, mca_pml_base_request_
|
|||||||
|
|
||||||
static void vprotocol_pessimist_request_construct(mca_pml_base_request_t *req)
|
static void vprotocol_pessimist_request_construct(mca_pml_base_request_t *req)
|
||||||
{
|
{
|
||||||
V_OUTPUT_VERBOSE(250, "pessimist:\treq\tnew\treq=%p\tPreq=%p (aligned to %p)", (void *) req, (void *) VPESSIMIST_REQ(req), (void *) &(VPESSIMIST_REQ(req)->pml_req_free));
|
V_OUTPUT_VERBOSE(250, "pessimist:\treq\tnew\treq=%p\tPreq=%p (aligned to %p)", (void *) req, (void *) VPESSIMIST_REQ(req), (void *) &(VPESSIMIST_REQ(req)->pml_req_free));
|
||||||
req->req_ompi.req_status.MPI_SOURCE = -1; /* no matching made flag */
|
req->req_ompi.req_status.MPI_SOURCE = -1; /* no matching made flag */
|
||||||
VPESSIMIST_REQ(req)->pml_req_free = req->req_ompi.req_free;
|
VPESSIMIST_REQ(req)->pml_req_free = req->req_ompi.req_free;
|
||||||
VPESSIMIST_REQ(req)->event = NULL;
|
VPESSIMIST_REQ(req)->event = NULL;
|
||||||
/* VPESSIMIST_REQ(req)->sb_reqs[0] = NULL;*/
|
/* VPESSIMIST_REQ(req)->sb_reqs[0] = NULL;*/
|
||||||
assert(VPESSIMIST_REQ(req)->pml_req_free == req->req_ompi.req_free); /* detection of aligment issues on different arch */
|
assert(VPESSIMIST_REQ(req)->pml_req_free == req->req_ompi.req_free); /* detection of aligment issues on different arch */
|
||||||
req->req_ompi.req_free = mca_vprotocol_pessimist_request_free;
|
req->req_ompi.req_free = mca_vprotocol_pessimist_request_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
int mca_vprotocol_pessimist_request_free(ompi_request_t **req)
|
int mca_vprotocol_pessimist_request_free(ompi_request_t **req)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user