1
1

* after checking with Tim, add MCA_BTL_TAG_MAX constant - avoid having to

hard code 256 into all the module structs.
* Update template btl to match change

This commit was SVN r6348.
Этот коммит содержится в:
Brian Barrett 2005-07-05 14:03:49 +00:00
родитель 87b25a09a8
Коммит acce172a87
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -129,6 +129,7 @@ typedef uint8_t mca_btl_base_tag_t;
#define MCA_BTL_TAG_BTL 0
#define MCA_BTL_TAG_PML 1
#define MCA_BTL_TAG_USR 2
#define MCA_BTL_TAG_MAX 256 /* 1 + highest allowed tag num */
/* prefered protocol */
#define MCA_BTL_FLAGS_SEND 1

Просмотреть файл

@ -86,7 +86,7 @@ extern mca_btl_template_component_t mca_btl_template_component;
*/
struct mca_btl_template_module_t {
mca_btl_base_module_t super; /**< base BTL interface */
mca_btl_base_recv_reg_t template_reg[256];
mca_btl_base_recv_reg_t template_reg[MCA_BTL_TAG_MAX];
/* free list of fragment descriptors */
ompi_free_list_t template_frag_eager;