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
Iker Martín Álvarez
Proteo
Commits
36e2ffb5
Commit
36e2ffb5
authored
Feb 14, 2024
by
iker_martin
Browse files
Minor typo corrected
parent
3691698e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Codes/malleability/MAM_Configuration.c
View file @
36e2ffb5
...
...
@@ -189,12 +189,15 @@ void MAM_Set_initial_configuration() {
}
void
MAM_Check_configuration
()
{
if
(
mall_conf
->
red_method
==
MALL_RED_RMA_LOCK
||
mall_conf
->
red_method
==
MALL_RED_RMA_LOCKALL
)
{
if
(
MAM_I_contains_strat
(
mall_conf
->
spawn_strategies
,
MAM_STRAT_SPAWN_INTERCOMM
))
{
if
(
mall_conf
->
spawn_method
==
MALL_SPAWN_MERGE
&&
MAM_I_contains_strat
(
mall_conf
->
spawn_strategies
,
MAM_MASK_SPAWN_INTERCOMM
))
{
MAM_I_remove_strat
(
&
mall_conf
->
spawn_strategies
,
MAM_MASK_SPAWN_INTERCOMM
);
}
if
(
mall_conf
->
red_method
==
MALL_RED_RMA_LOCK
||
mall_conf
->
red_method
==
MALL_RED_RMA_LOCKALL
)
{
if
(
MAM_I_contains_strat
(
mall_conf
->
spawn_strategies
,
MAM_MASK_SPAWN_INTERCOMM
))
{
MAM_I_remove_strat
(
&
mall_conf
->
spawn_strategies
,
MAM_MASK_SPAWN_INTERCOMM
);
}
if
(
!
MAM_I_contains_strat
(
mall_conf
->
red_strategies
,
MAM_
STRAT
_RED_WAIT_TARGETS
)
&&
!
MAM_I_contains_strat
(
mall_conf
->
red_strategies
,
MAM_
STRAT_RED
_PTHREAD
))
{
if
(
!
MAM_I_contains_strat
(
mall_conf
->
red_strategies
,
MAM_
MASK
_RED_WAIT_TARGETS
)
&&
!
MAM_I_contains_strat
(
mall_conf
->
red_strategies
,
MAM_
MASK
_PTHREAD
))
{
MAM_I_set_red_strat
(
MAM_STRAT_RED_WAIT_TARGETS
,
&
mall_conf
->
red_strategies
);
}
}
...
...
Write
Preview
Supports
Markdown
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