Skip to content

Commit

Permalink
add arg for sicm_arena_create() and fix header
Browse files Browse the repository at this point in the history
 - Add arg for newer SICM API in sicm_arena_create()
 - Fix header path for OMPI master include 'mutex_unix.h'

Signed-off-by: Thomas Naughton <[email protected]>
  • Loading branch information
naughtont3 committed Aug 11, 2020
1 parent 37f9fe0 commit 78fcbca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opal/mca/mpool/sicm/mpool_sicm.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define MCA_MPOOL_SICM_H

#include "opal_config.h"
#include "opal/threads/mutex_unix.h"
#include "opal/mca/threads/mutex.h"

#include "opal/mca/event/event.h"
#include "opal/mca/mpool/mpool.h"
Expand Down
2 changes: 1 addition & 1 deletion opal/mca/mpool/sicm/mpool_sicm_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mpool_sicm_alloc (mca_mpool_base_module_t *module, size_t size, size_t align, ui
if (dev == NULL)
return NULL;

arena = sicm_arena_create (0, dev);
arena = sicm_arena_create (0, SICM_ALLOC_RELAXED, dev);
if (arena == NULL)
return NULL;

Expand Down

0 comments on commit 78fcbca

Please sign in to comment.