Selected Documentation for Messaging-Cells Library
Macros
shared_eph.h File Reference

Addressing functions for the epiphany architecture.. More...

#include "shared_eph3.h"
+ Include dependency graph for shared_eph.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define mc_addr_has_local_id(addr)   (mc_addr_get_id(addr) == MC_WORKERU_INFO->the_workeru_id)
 True if 'addr' has local id.
 
#define mc_addr_is_local(addr)   ((! mc_addr_has_id(addr)) || mc_addr_has_local_id(addr))
 True if 'addr' is local.
 
#define mck_as_glb_pt(pt)   ((void*)mc_addr_set_id(MC_WORKERU_INFO->the_workeru_id, (pt)))
 Sets the id of 'pt' to the local workeru id.
 
#define mck_as_loc_pt(pt)   ((void*)mc_addr_mask_ad(pt))
 Sets to zero the id of 'pt'.
 

Detailed Description

Addressing functions for the epiphany architecture..