Blob Blame History Raw
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
 *  (C) 2006 by Argonne National Laboratory.
 *      See COPYRIGHT in top-level directory.
 *
 *  Portions of this code were written by Intel Corporation.
 *  Copyright (C) 2011-2016 Intel Corporation.  Intel provides this material
 *  to Argonne National Laboratory subject to Software Grant and Corporate
 *  Contributor License Agreement dated February 8, 2012.
 */

#include <mpidimpl.h>

/* *INDENT-OFF* */
/* forward declaration of funcs structs defined in network modules */
extern MPIDI_NM_funcs_t @ch4_nets_func_decl@;
extern MPIDI_NM_native_funcs_t @ch4_nets_native_func_decl@;

#ifndef NETMOD_INLINE
MPIDI_NM_funcs_t *MPIDI_NM_funcs[@ch4_nets_array_sz@] = { @ch4_nets_func_array@ };
MPIDI_NM_native_funcs_t *MPIDI_NM_native_funcs[@ch4_nets_array_sz@] =
    { @ch4_nets_native_func_array@ };
#else
MPIDI_NM_funcs_t *MPIDI_NM_funcs[@ch4_nets_array_sz@] = { 0 };
MPIDI_NM_native_funcs_t *MPIDI_NM_native_funcs[@ch4_nets_array_sz@] = { 0 };
#endif
int MPIDI_num_netmods = @ch4_nets_array_sz@;
char MPIDI_NM_strings[@ch4_nets_array_sz@][MPIDI_MAX_NETMOD_STRING_LEN] =
    { @ch4_nets_strings@ };
/* *INDENT-ON* */