These calls were mistakenly added in r25164.
This commit was SVN r25176. The following SVN revision numbers were found above: r25164 --> open-mpi/ompi@51129cc2a8
Этот коммит содержится в:
родитель
8347385630
Коммит
57323570e3
@ -109,16 +109,6 @@ OPAL_DECLSPEC int opal_maffinity_base_set(opal_maffinity_base_segment_t *segment
|
|||||||
OPAL_DECLSPEC int opal_maffinity_base_node_name_to_id(char *, int *);
|
OPAL_DECLSPEC int opal_maffinity_base_node_name_to_id(char *, int *);
|
||||||
OPAL_DECLSPEC int opal_maffinity_base_bind(opal_maffinity_base_segment_t *, size_t, int);
|
OPAL_DECLSPEC int opal_maffinity_base_bind(opal_maffinity_base_segment_t *, size_t, int);
|
||||||
|
|
||||||
/**
|
|
||||||
* Report a bind failure using the normal mechanisms if a component
|
|
||||||
* fails to bind memory -- according to the value of the
|
|
||||||
* maffinity_base_bind_failure_action MCA parameter.
|
|
||||||
*/
|
|
||||||
OPAL_DECLSPEC int opal_maffinity_base_report_bind_failure(const char *file,
|
|
||||||
int line,
|
|
||||||
const char *msg,
|
|
||||||
int rc);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shut down the maffinity MCA framework.
|
* Shut down the maffinity MCA framework.
|
||||||
*
|
*
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "opal/mca/base/mca_base_param.h"
|
#include "opal/mca/base/mca_base_param.h"
|
||||||
#include "opal/mca/maffinity/maffinity.h"
|
#include "opal/mca/maffinity/maffinity.h"
|
||||||
#include "opal/mca/maffinity/base/base.h"
|
#include "opal/mca/maffinity/base/base.h"
|
||||||
|
#include "opal/mca/hwloc/base/base.h"
|
||||||
#include "maffinity_hwloc.h"
|
#include "maffinity_hwloc.h"
|
||||||
#include "opal/mca/hwloc/hwloc.h"
|
#include "opal/mca/hwloc/hwloc.h"
|
||||||
|
|
||||||
@ -91,7 +92,7 @@ static int hwloc_module_set(opal_maffinity_base_segment_t *segments,
|
|||||||
/* bozo check */
|
/* bozo check */
|
||||||
if (NULL == opal_hwloc_topology) {
|
if (NULL == opal_hwloc_topology) {
|
||||||
msg = "hwloc_set_area_membind() failure - topology not available";
|
msg = "hwloc_set_area_membind() failure - topology not available";
|
||||||
return opal_maffinity_base_report_bind_failure(__FILE__, __LINE__,
|
return opal_hwloc_base_report_bind_failure(__FILE__, __LINE__,
|
||||||
msg, rc);
|
msg, rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,7 +123,7 @@ static int hwloc_module_set(opal_maffinity_base_segment_t *segments,
|
|||||||
hwloc_bitmap_free(cpuset);
|
hwloc_bitmap_free(cpuset);
|
||||||
}
|
}
|
||||||
if (OPAL_SUCCESS != rc) {
|
if (OPAL_SUCCESS != rc) {
|
||||||
return opal_maffinity_base_report_bind_failure(__FILE__, __LINE__,
|
return opal_hwloc_base_report_bind_failure(__FILE__, __LINE__,
|
||||||
msg, rc);
|
msg, rc);
|
||||||
}
|
}
|
||||||
return OPAL_SUCCESS;
|
return OPAL_SUCCESS;
|
||||||
@ -147,7 +148,7 @@ static int hwloc_module_bind(opal_maffinity_base_segment_t *segs,
|
|||||||
/* bozo check */
|
/* bozo check */
|
||||||
if (NULL == opal_hwloc_topology) {
|
if (NULL == opal_hwloc_topology) {
|
||||||
msg = "hwloc_set_area_membind() failure - topology not available";
|
msg = "hwloc_set_area_membind() failure - topology not available";
|
||||||
return opal_maffinity_base_report_bind_failure(__FILE__, __LINE__,
|
return opal_hwloc_base_report_bind_failure(__FILE__, __LINE__,
|
||||||
msg, rc);
|
msg, rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +176,7 @@ static int hwloc_module_bind(opal_maffinity_base_segment_t *segs,
|
|||||||
hwloc_bitmap_free(cpuset);
|
hwloc_bitmap_free(cpuset);
|
||||||
}
|
}
|
||||||
if (OPAL_SUCCESS != rc) {
|
if (OPAL_SUCCESS != rc) {
|
||||||
return opal_maffinity_base_report_bind_failure(__FILE__, __LINE__,
|
return opal_hwloc_base_report_bind_failure(__FILE__, __LINE__,
|
||||||
msg, rc);
|
msg, rc);
|
||||||
}
|
}
|
||||||
return OPAL_SUCCESS;
|
return OPAL_SUCCESS;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user