1
1

remove MCA_BTL_IB_FRAG_ALIGN. Alignment is handled in free_list_t.

This commit was SVN r10945.
Этот коммит содержится в:
Gleb Natapov 2006-07-23 12:33:49 +00:00
родитель f9fd98449c
Коммит 3b34dc8df8
2 изменённых файлов: 4 добавлений и 11 удалений

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

@ -616,11 +616,9 @@ mca_btl_base_module_t** mca_btl_openib_component_init(int *num_btl_modules,
length = sizeof(mca_btl_openib_frag_t) +
sizeof(mca_btl_openib_header_t) +
sizeof(mca_btl_openib_footer_t) +
openib_btl->super.btl_eager_limit+
2*MCA_BTL_IB_FRAG_ALIGN;
openib_btl->super.btl_eager_limit;
openib_btl->eager_rdma_frag_size =
length & ~(2 * MCA_BTL_IB_FRAG_ALIGN - 1);
openib_btl->eager_rdma_frag_size = length;
ompi_free_list_init_ex(&openib_btl->send_free_eager,
length,
@ -644,8 +642,7 @@ mca_btl_base_module_t** mca_btl_openib_component_init(int *num_btl_modules,
length = sizeof(mca_btl_openib_frag_t) +
sizeof(mca_btl_openib_header_t) +
openib_btl->super.btl_max_send_size +
2*MCA_BTL_IB_FRAG_ALIGN;
openib_btl->super.btl_max_send_size;
ompi_free_list_init_ex(&openib_btl->send_free_max,
@ -668,9 +665,7 @@ mca_btl_base_module_t** mca_btl_openib_component_init(int *num_btl_modules,
mca_btl_openib_component.ib_free_list_max,
mca_btl_openib_component.ib_free_list_inc, openib_btl->super.btl_mpool);
length = sizeof(mca_btl_openib_frag_t) +
sizeof(mca_btl_openib_header_t)+
2*MCA_BTL_IB_FRAG_ALIGN;
length = sizeof(mca_btl_openib_frag_t);
ompi_free_list_init(&openib_btl->send_free_frag,
length,

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

@ -19,8 +19,6 @@
#ifndef MCA_BTL_IB_FRAG_H
#define MCA_BTL_IB_FRAG_H
#define MCA_BTL_IB_FRAG_ALIGN (8)
#include "ompi_config.h"
#include "btl_openib.h"