Fix a bunch of compiler warnings. Refs trac:1458
This commit was SVN r19649. The following Trac tickets were found above: Ticket 1458 --> https://svn.open-mpi.org/trac/ompi/ticket/1458
Этот коммит содержится в:
родитель
c11bee41da
Коммит
76f47aaa1c
@ -421,7 +421,7 @@ mca_btl_portals_component_progress(void)
|
||||
tag
|
||||
));
|
||||
|
||||
OPAL_OUTPUT_VERBOSE((90, mca_btl_portals_component.portals_output,"received %d bytes \n", ev.mlength));
|
||||
OPAL_OUTPUT_VERBOSE((90, mca_btl_portals_component.portals_output,"received %d bytes \n", (int) ev.mlength));
|
||||
frag->segments[0].seg_addr.pval = &frag->data;
|
||||
frag->segments[0].seg_len = header_size;
|
||||
if(ev.mlength) {
|
||||
|
@ -335,8 +335,6 @@ ompi_mtl_portals_progress(void)
|
||||
int count = 0, ret;
|
||||
ptl_event_t ev;
|
||||
ompi_mtl_portals_request_t *ptl_request;
|
||||
int which;
|
||||
ompi_mtl_portals_event_t *unex_recv;
|
||||
|
||||
while (true) {
|
||||
|
||||
|
@ -78,7 +78,7 @@ struct mca_mtl_portals_module_t {
|
||||
ptl_handle_md_t ptl_short_md_h;
|
||||
|
||||
int ptl_num_copy_blocks;
|
||||
int ptl_copy_block_len;
|
||||
ptl_size_t ptl_copy_block_len;
|
||||
|
||||
int *ptl_copy_block_free_list;
|
||||
int ptl_copy_block_first_free;
|
||||
|
@ -145,7 +145,8 @@ ompi_mtl_portals_component_open(void)
|
||||
false,
|
||||
false,
|
||||
8192,
|
||||
&ompi_mtl_portals.ptl_copy_block_len);
|
||||
&tmp);
|
||||
ompi_mtl_portals.ptl_copy_block_len = tmp;
|
||||
|
||||
mca_base_param_reg_int(&mca_mtl_portals_component.mtl_version,
|
||||
"aggressive_polling",
|
||||
|
@ -175,7 +175,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
|
||||
/* see if this message filled the receive block */
|
||||
if (recv_event->ev.md.length - (recv_event->ev.offset +
|
||||
recv_event->ev.mlength) <
|
||||
recv_event->ev.md.max_size) {
|
||||
(ptl_size_t) recv_event->ev.md.max_size) {
|
||||
block->full = true;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ extern void ompi_mtl_portals_short_setup(void);
|
||||
extern void ompi_mtl_portals_short_cleanup(void);
|
||||
|
||||
static inline int
|
||||
ompi_mtl_portals_alloc_short_buf()
|
||||
ompi_mtl_portals_alloc_short_buf(void)
|
||||
{
|
||||
int buf_num;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user