added version
This commit was SVN r1287.
Этот коммит содержится в:
родитель
a5d2050592
Коммит
6628da1299
@ -69,5 +69,14 @@ struct mca_allocator_base_module_1_0_0_t {
|
|||||||
};
|
};
|
||||||
typedef struct mca_allocator_base_module_1_0_0_t mca_allocator_base_module_t;
|
typedef struct mca_allocator_base_module_1_0_0_t mca_allocator_base_module_t;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Macro for use in modules that are of type ptl v1.0.0
|
||||||
|
*/
|
||||||
|
#define MCA_ALLOCATOR_BASE_VERSION_1_0_0 \
|
||||||
|
/* mpool v1.0 is chained to MCA v1.0 */ \
|
||||||
|
MCA_BASE_VERSION_1_0_0, \
|
||||||
|
/* ptl v1.0 */ \
|
||||||
|
"allocator", 1, 0, 0
|
||||||
|
|
||||||
#endif /* MCA_ALLOCATOR_H */
|
#endif /* MCA_ALLOCATOR_H */
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ libmca_allocator_base_la_SOURCES = \
|
|||||||
$(headers) \
|
$(headers) \
|
||||||
allocator_base_open.c \
|
allocator_base_open.c \
|
||||||
allocator_base_close.c \
|
allocator_base_close.c \
|
||||||
allocator_base_select.c
|
allocator_base_init.c
|
||||||
|
|
||||||
# Conditionally install the header files
|
# Conditionally install the header files
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* will be closed and unloaded. The selected modules will be returned
|
* will be closed and unloaded. The selected modules will be returned
|
||||||
* to the caller in a ompi_list_t.
|
* to the caller in a ompi_list_t.
|
||||||
*/
|
*/
|
||||||
int mca_allocator_base_select(bool *allow_multi_user_threads)
|
int mca_allocator_base_init(bool *allow_multi_user_threads)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
int i, num_allocators;
|
int i, num_allocators;
|
@ -30,8 +30,9 @@ typedef struct mca_allocator_base_selected_module_t mca_allocator_base_selected_
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
int mca_allocator_base_open(void);
|
int mca_allocator_base_open(void);
|
||||||
int mca_allocator_base_select(bool *allow_multi_user_threads);
|
int mca_allocator_base_init(bool *allow_multi_user_threads);
|
||||||
int mca_allocator_base_close(void);
|
int mca_allocator_base_close(void);
|
||||||
|
mca_allocator_t* mca_allocator_lookup(const char* name);
|
||||||
#if defined(c_plusplus) || defined(__cplusplus)
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user