diff mbox

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

Message ID 54347E5A035A054EAE9D05927FB467F916E42B4B@FMSMSX151.amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Arlin Davis Aug. 11, 2011, 12:42 a.m. UTC
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
---
 dapl/openib_common/util.c |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
diff mbox

Patch

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"}