Addressing functions for the epiphany architecture.. More...
#include "shared_eph3.h"
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'. | |
Addressing functions for the epiphany architecture..