File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111 * Copyright (c) 2004-2005 The Regents of the University of California.
1212 * All rights reserved.
1313 * Copyright (c) 2006-2007 Voltaire. All rights reserved.
14- * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
14+ * Copyright (c) 2012-2016 Los Alamos National Security, LLC. All rights
1515 * reserved.
1616 * $COPYRIGHT$
1717 *
@@ -63,7 +63,7 @@ typedef struct mca_btl_base_endpoint_t {
6363
6464 int32_t peer_smp_rank ; /**< my peer's SMP process rank. Used for accessing
6565 * SMP specfic data structures. */
66- volatile uint64_t send_count ; /**< number of fragments sent to this peer */
66+ volatile size_t send_count ; /**< number of fragments sent to this peer */
6767 char * segment_base ; /**< start of the peer's segment (in the address space
6868 * of this process) */
6969
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ static inline bool mca_btl_vader_check_fboxes (void)
261261
262262static inline void mca_btl_vader_try_fbox_setup (mca_btl_base_endpoint_t * ep , mca_btl_vader_hdr_t * hdr )
263263{
264- if (OPAL_UNLIKELY (NULL == ep -> fbox_out .buffer && mca_btl_vader_component .fbox_threshold == OPAL_THREAD_ADD64 (( volatile int64_t * ) & ep -> send_count , 1 ))) {
264+ if (OPAL_UNLIKELY (NULL == ep -> fbox_out .buffer && mca_btl_vader_component .fbox_threshold == OPAL_THREAD_ADD_SIZE_T ( & ep -> send_count , 1 ))) {
265265 /* protect access to mca_btl_vader_component.segment_offset */
266266 OPAL_THREAD_LOCK (& mca_btl_vader_component .lock );
267267
You can’t perform that action at this time.
0 commit comments