Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
83253a41
Commit
83253a41
authored
Jun 15, 2015
by
Rob Latham
Browse files
some type promotions in RMA path
Signed-off-by:
Xin Zhao
<
xinzhao3@illinois.edu
>
parent
9c4b9b17
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/include/mpid_rma_shm.h
View file @
83253a41
...
...
@@ -10,8 +10,8 @@
#include "mpl_utlist.h"
#include "mpid_rma_types.h"
static
inline
int
do_accumulate_op
(
void
*
source_buf
,
int
source_count
,
MPI_Datatype
source_dtp
,
void
*
target_buf
,
int
target_count
,
MPI_Datatype
target_dtp
,
static
inline
int
do_accumulate_op
(
void
*
source_buf
,
MPI_A
int
source_count
,
MPI_Datatype
source_dtp
,
void
*
target_buf
,
MPI_A
int
target_count
,
MPI_Datatype
target_dtp
,
MPI_Aint
stream_offset
,
MPI_Op
acc_op
);
#define ASSIGN_COPY(src, dest, count, type) \
...
...
src/mpid/ch3/include/mpid_rma_types.h
View file @
83253a41
...
...
@@ -26,10 +26,10 @@ enum MPIDI_RMA_Datatype {
/* to send derived datatype across in RMA ops */
typedef
struct
MPIDI_RMA_dtype_info
{
/* for derived datatypes */
int
is_contig
;
int
max_contig_blocks
;
MPI_A
int
max_contig_blocks
;
MPI_Aint
size
;
MPI_Aint
extent
;
int
dataloop_size
;
/* not needed because this info is sent in
MPI_A
int
dataloop_size
;
/* not needed because this info is sent in
* packet header. remove it after lock/unlock
* is implemented in the device */
void
*
dataloop
;
/* pointer needed to update pointers
...
...
@@ -61,7 +61,7 @@ typedef struct MPIDI_RMA_Op {
MPI_Datatype
result_datatype
;
struct
MPID_Request
**
reqs
;
int
reqs_size
;
MPI_A
int
reqs_size
;
MPIDI_RMA_dtype_info
dtype_info
;
void
*
dataloop
;
...
...
src/mpid/ch3/include/mpidrma.h
View file @
83253a41
...
...
@@ -806,8 +806,8 @@ static inline int MPIDI_CH3I_RMA_Handle_flush_ack(MPID_Win * win_ptr, int target
#define FUNCNAME do_accumulate_op
#undef FCNAME
#define FCNAME MPIDI_QUOTE(FUNCNAME)
static
inline
int
do_accumulate_op
(
void
*
source_buf
,
int
source_count
,
MPI_Datatype
source_dtp
,
void
*
target_buf
,
int
target_count
,
MPI_Datatype
target_dtp
,
static
inline
int
do_accumulate_op
(
void
*
source_buf
,
MPI_A
int
source_count
,
MPI_Datatype
source_dtp
,
void
*
target_buf
,
MPI_A
int
target_count
,
MPI_Datatype
target_dtp
,
MPI_Aint
stream_offset
,
MPI_Op
acc_op
)
{
int
mpi_errno
=
MPI_SUCCESS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment