Fixed macro definition order in MXM component headers
This commit was SVN r28378.
Этот коммит содержится в:
родитель
0f87d80256
Коммит
aebd794bf6
@ -15,6 +15,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <mxm/api/mxm_api.h>
|
#include <mxm/api/mxm_api.h>
|
||||||
|
#ifndef MXM_VERSION
|
||||||
|
#define MXM_VERSION(major, minor) (((major)<<MXM_MAJOR_BIT)|((minor)<<MXM_MINOR_BIT))
|
||||||
|
#endif
|
||||||
#if MXM_API < MXM_VERSION(2, 0)
|
#if MXM_API < MXM_VERSION(2, 0)
|
||||||
#include <mxm/api/mxm_addr.h>
|
#include <mxm/api/mxm_addr.h>
|
||||||
#endif
|
#endif
|
||||||
@ -32,10 +35,6 @@
|
|||||||
|
|
||||||
BEGIN_C_DECLS
|
BEGIN_C_DECLS
|
||||||
|
|
||||||
#ifndef MXM_VERSION
|
|
||||||
#define MXM_VERSION(major, minor) (((major)<<MXM_MAJOR_BIT)|((minor)<<MXM_MINOR_BIT))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* MTL interface functions */
|
/* MTL interface functions */
|
||||||
extern int ompi_mtl_mxm_add_procs(struct mca_mtl_base_module_t* mtl,
|
extern int ompi_mtl_mxm_add_procs(struct mca_mtl_base_module_t* mtl,
|
||||||
size_t nprocs, struct ompi_proc_t** procs,
|
size_t nprocs, struct ompi_proc_t** procs,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user