File tree Expand file tree Collapse file tree 2 files changed +163
-141
lines changed Expand file tree Collapse file tree 2 files changed +163
-141
lines changed Original file line number Diff line number Diff line change 8
8
* University of Stuttgart. All rights reserved.
9
9
* Copyright (c) 2004-2005 The Regents of the University of California.
10
10
* All rights reserved.
11
- * Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights
11
+ * Copyright (c) 2007-2017 Los Alamos National Security, LLC. All rights
12
12
* reserved.
13
13
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
14
14
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
@@ -512,4 +512,12 @@ static inline void ompi_osc_rdma_aggregation_return (ompi_osc_rdma_aggregation_t
512
512
opal_free_list_return (& mca_osc_rdma_component .aggregate , (opal_free_list_item_t * ) aggregation );
513
513
}
514
514
515
+
516
+ __opal_attribute_always_inline__
517
+ static bool ompi_osc_rdma_oor (int rc )
518
+ {
519
+ /* check for OPAL_SUCCESS first to short-circuit the statement in the common case */
520
+ return (OPAL_SUCCESS != rc && (OPAL_ERR_OUT_OF_RESOURCE == rc || OPAL_ERR_TEMP_OUT_OF_RESOURCE == rc ));
521
+ }
522
+
515
523
#endif /* OMPI_OSC_RDMA_H */
You can’t perform that action at this time.
0 commit comments