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