Skip to content
GitLab
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
fa7fe999
Commit
fa7fe999
authored
Mar 03, 2015
by
Xin Zhao
Browse files
Add FIXME about extending piggybacking LOCK to op with derived DT.
Signed-off-by:
Pavan Balaji
<
balaji@anl.gov
>
parent
2317b31d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/src/ch3u_rma_ops.c
View file @
fa7fe999
...
...
@@ -173,6 +173,9 @@ int MPIDI_CH3I_Put(const void *origin_addr, int origin_count, MPI_Datatype
/* Judge if this operation is an piggyback candidate */
if
(
!
new_ptr
->
is_dt
)
{
/* FIXME: currently we only piggyback LOCK flag with op using predefined datatypes
* for both origin and target data. We should extend this optimization to derived
* datatypes as well. */
if
(
len
<=
MPIR_CVAR_CH3_RMA_OP_PIGGYBACK_LOCK_DATA_SIZE
)
new_ptr
->
piggyback_lock_candidate
=
1
;
}
...
...
@@ -364,6 +367,9 @@ int MPIDI_CH3I_Get(void *origin_addr, int origin_count, MPI_Datatype
/* Judge if this operation is an piggyback candidate. */
if
(
!
new_ptr
->
is_dt
)
{
/* FIXME: currently we only piggyback LOCK flag with op using predefined datatypes
* for both origin and target data. We should extend this optimization to derived
* datatypes as well. */
new_ptr
->
piggyback_lock_candidate
=
1
;
}
...
...
@@ -543,6 +549,9 @@ int MPIDI_CH3I_Accumulate(const void *origin_addr, int origin_count, MPI_Datatyp
/* Judge if this operation is an piggyback candidate. */
if
(
!
new_ptr
->
is_dt
)
{
/* FIXME: currently we only piggyback LOCK flag with op using predefined datatypes
* for both origin and target data. We should extend this optimization to derived
* datatypes as well. */
if
(
len
<=
MPIR_CVAR_CH3_RMA_OP_PIGGYBACK_LOCK_DATA_SIZE
)
new_ptr
->
piggyback_lock_candidate
=
1
;
}
...
...
@@ -742,6 +751,9 @@ int MPIDI_CH3I_Get_accumulate(const void *origin_addr, int origin_count,
/* Judge if this operation is a piggyback candidate */
if
(
!
new_ptr
->
is_dt
)
{
/* FIXME: currently we only piggyback LOCK flag with op using predefined datatypes
* for both origin and target data. We should extend this optimization to derived
* datatypes as well. */
new_ptr
->
piggyback_lock_candidate
=
1
;
}
...
...
@@ -814,6 +826,9 @@ int MPIDI_CH3I_Get_accumulate(const void *origin_addr, int origin_count,
/* Judge if this operation is a piggyback candidate */
if
(
!
new_ptr
->
is_dt
)
{
/* FIXME: currently we only piggyback LOCK flag with op using predefined datatypes
* for origin, target and result data. We should extend this optimization to derived
* datatypes as well. */
if
(
orig_len
<=
MPIR_CVAR_CH3_RMA_OP_PIGGYBACK_LOCK_DATA_SIZE
)
new_ptr
->
piggyback_lock_candidate
=
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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