Changeset 432 for soft/giet_vm/applications/display
- Timestamp:
- Oct 4, 2014, 4:33:31 PM (10 years ago)
- Location:
- soft/giet_vm/applications
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/display/main_cma.c
r297 r432 9 9 __attribute__((constructor)) void main(void) 10 10 { 11 // get processor identifiers 12 unsigned int x; 13 unsigned int y; 14 unsigned int lpid; 15 giet_proc_xyp( &x, &y, &lpid ); 16 11 17 int fd; 12 18 unsigned int blocks_to_skip = 0; 13 unsigned int procid = giet_procid();14 unsigned int cluster_xy = procid/NB_PROCS_MAX;15 unsigned int lpid = procid%NB_PROCS_MAX;16 unsigned int x = cluster_xy >> Y_WIDTH;17 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1);18 19 19 20 giet_tty_printf( "*** Starting task display on processor[%d,%d,%d] at cycle %d\n\n",
Note: See TracChangeset
for help on using the changeset viewer.