#ifndef __barrier_sample_h__ #define __barrier_sample_h__ #include typedef union { unsigned long long ull; unsigned int ui[2]; } addr64; //control block that will be DMAed to each SPE typedef struct _control_block { int hypercubeD; //dimension of the hypercube int NSPE; //Number of SPEs to sync int id; //id of the SPE unsigned char pad[116]; /* pad to a full cache line (128 bytes) */ } control_block; #endif /* __barrier_sample_h__ */