Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ompi/mca/pml/base/pml_base_bsend.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2017 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -40,9 +41,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 = NULL; /* user provided buffer base */
unsigned char *mca_pml_bsend_base = NULL; /* adjusted base of user buffer */
unsigned char *mca_pml_bsend_addr = NULL; /* 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 */
Expand Down
5 changes: 5 additions & 0 deletions ompi/mca/pml/base/pml_base_bsend.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -37,6 +38,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
Expand Down