[ofw] [PATCH 5/10] DAPL v2.0: common: add supported collective types in named attributes for query

Davis, Arlin R arlin.r.davis at intel.com
Wed Aug 10 17:42:03 PDT 2011


Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 dapl/openib_common/util.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/dapl/openib_common/util.c b/dapl/openib_common/util.c
index 5076df8..29fc12f 100644
--- a/dapl/openib_common/util.c
+++ b/dapl/openib_common/util.c
@@ -591,6 +591,26 @@ DAT_NAMED_ATTR ib_attrs[] = {
 	{
 	 DAT_IB_ATTR_IMMED_DATA, "TRUE"}
 	,
+#ifdef DAT_IB_COLLECTIVES
+	{
+	 DAT_IB_COLL_BARRIER, "TRUE"}
+	,
+	{
+	 DAT_IB_COLL_BROADCAST, "TRUE"}
+	,
+	{
+	 DAT_IB_COLL_REDUCE, "TRUE"}
+	,
+	{
+	 DAT_IB_COLL_ALLREDUCE, "TRUE"}
+	,
+	{
+	 DAT_IB_COLL_ALLGATHER, "TRUE"}
+	,
+	{
+	 DAT_IB_COLL_ALLGATHERV, "TRUE"}
+	,
+#endif /* DAT_IB_COLLECTIVES */
 #ifndef _OPENIB_CMA_
 	{
 	 DAT_IB_ATTR_UD, "TRUE"}
-- 
1.7.3






More information about the ofw mailing list