1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ 2 /* 3 * Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana 4 * University Research and Technology 5 * Corporation. All rights reserved. 6 * Copyright (c) 2004-2010 The University of Tennessee and The University 7 * of Tennessee Research Foundation. All rights 8 * reserved. 9 * Copyright (c) 2004-2007 High Performance Computing Center Stuttgart, 10 * University of Stuttgart. All rights reserved. 11 * Copyright (c) 2004-2005 The Regents of the University of California. 12 * All rights reserved. 13 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved. 14 * Copyright (c) 2013 Los Alamos National Security, LLC. All rights 15 * reserved. 16 * $COPYRIGHT$ 17 * 18 * Additional copyrights may follow 19 * 20 * $HEADER$ 21 */ 22 23 #ifndef OMPI_OP_BASE_FUNCTIONS_H 24 #define OMPI_OP_BASE_FUNCTIONS_H 25 26 #include "ompi_config.h" 27 #include "ompi/mca/op/op.h" 28 29 30 BEGIN_C_DECLS 31 32 /** 33 * Globals holding all the "base" function pointers, indexed by op and 34 * datatype. 35 */ 36 OMPI_DECLSPEC extern ompi_op_base_handler_fn_t 37 ompi_op_base_functions[OMPI_OP_BASE_FORTRAN_OP_MAX][OMPI_OP_BASE_TYPE_MAX]; 38 OMPI_DECLSPEC extern ompi_op_base_3buff_handler_fn_t 39 ompi_op_base_3buff_functions[OMPI_OP_BASE_FORTRAN_OP_MAX][OMPI_OP_BASE_TYPE_MAX]; 40 41 END_C_DECLS 42 43 #endif /* OMPI_OP_BASE_FUNCTIONS_H */