Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gm_simple_example.h

Go to the documentation of this file.
00001 /******************************************************************-*-c-*-
00002  * Myricom GM networking software and documentation                      *
00003  * Copyright (c) 1999-2003 by Myricom, Inc.                              *
00004  * All rights reserved.  See the file `COPYING' for copyright notice.    *
00005  *************************************************************************/
00006 
00013 #include "gm.h"
00014 
00015 /* The following define allows the programmer to turn GM strong typeing off
00016  * regardless of the setting in gm.h.  Note that if this effectively changes
00017  * the definition in gm.h, the compiler will probably issue a warning, which
00018  * may safely be ignored.
00019  *
00020  * It is *not* recommended to override GM_STRONG_TYPES to 1; see the definition
00021  * in gm.h for the reasons.
00022  */
00023 #if 0
00024 #define GM_STRONG_TYPES 0
00025 #endif
00026 
00027 #define GM_SIMPLE_EXAMPLE_PORT_NUM_RECV 4
00028 #define GM_SIMPLE_EXAMPLE_PORT_NUM_SEND 2
00029 
00030 #define GM_SIMPLE_EXAMPLE_PRIORITY GM_LOW_PRIORITY
00031 
00032 #define GM_SIMPLE_EXAMPLE_SIZE 7
00033 #define GM_SIMPLE_EXAMPLE_BUFFER_COUNT 1
00034 #define GM_SIMPLE_EXAMPLE_BUFFER_LENGTH \
00035  (gm_max_length_for_size(GM_SIMPLE_EXAMPLE_SIZE))
00036 
00037 
00038 typedef struct                          /* Receiver-to-sender ID message */
00039 {
00040   gm_u64_n_t directed_recv_buffer_addr; /* UVA of directed-receive buffer */
00041   gm_u32_n_t global_id;                 /* Receiver's GM global ID */
00042   gm_u32_n_t slack;                     /* Make length a multiple of 64 */
00043 } gm_s_e_id_message_t;

Generated on Mon Nov 3 15:39:25 2003 for GM by doxygen1.2.15