1
1

pml/base: Expose some bsend varaibles so PMLs may reference them

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
Этот коммит содержится в:
Sameh S. Sharkawi 2016-06-30 11:11:53 -04:00 коммит произвёл Joshua Hursey
родитель c6595c2289
Коммит 320ab3b84f
2 изменённых файлов: 9 добавлений и 3 удалений

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

@ -15,6 +15,7 @@
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2017 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -43,9 +44,9 @@ static opal_condition_t mca_pml_bsend_condition; /* condition variable to block
static mca_allocator_base_component_t* mca_pml_bsend_allocator_component;
static mca_allocator_base_module_t* mca_pml_bsend_allocator; /* sub-allocator to manage users buffer */
static size_t mca_pml_bsend_usersize; /* user provided buffer size */
static unsigned char *mca_pml_bsend_userbase; /* user provided buffer base */
static unsigned char *mca_pml_bsend_base; /* adjusted base of user buffer */
static unsigned char *mca_pml_bsend_addr; /* current offset into user buffer */
unsigned char *mca_pml_bsend_userbase; /* user provided buffer base */
unsigned char *mca_pml_bsend_base; /* adjusted base of user buffer */
unsigned char *mca_pml_bsend_addr; /* current offset into user buffer */
static size_t mca_pml_bsend_size; /* adjusted size of user buffer */
static size_t mca_pml_bsend_count; /* number of outstanding requests */
static size_t mca_pml_bsend_pagesz; /* mmap page size */

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

@ -9,6 +9,7 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2017 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -36,6 +37,10 @@ OMPI_DECLSPEC int mca_pml_base_bsend_request_fini(ompi_request_t*);
OMPI_DECLSPEC void* mca_pml_base_bsend_request_alloc_buf( size_t length );
OMPI_DECLSPEC int mca_pml_base_bsend_request_free(void* addr);
extern unsigned char *mca_pml_bsend_userbase; /* user provided buffer base */
extern unsigned char *mca_pml_bsend_base; /* adjusted base of user buffer */
extern unsigned char *mca_pml_bsend_addr; /* current offset into user buffer */
END_C_DECLS
#endif