1 /* 2 * Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved. 3 * Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved. 4 * $COPYRIGHT$ 5 * 6 * Additional copyrights may follow 7 * 8 * $HEADER$ 9 */ 10 11 #ifndef COMM_OP_TYPES_H 12 #define COMM_OP_TYPES_H 13 14 #include "ompi_config.h" 15 16 BEGIN_C_DECLS 17 18 int comm_allreduce(void *sbuf, void *rbuf, int count, opal_datatype_t *dtype, 19 int op, opal_list_t *peers); 20 21 /* reduction operations supported */ 22 #define OP_SUM 1 23 24 #define TYPE_INT4 1 25 26 27 END_C_DECLS 28 29 #endif /* COMM_OP_TYPES_H */