Changeset 432 for soft/giet_vm/applications/pgcd
- 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/pgcd/main.c
r295 r432 8 8 unsigned int opy; 9 9 10 unsigned int procid = giet_procid();11 unsigned int cluster_xy = procid/NB_PROCS_MAX;12 unsigned int lpid = procid%NB_PROCS_MAX;13 unsigned int x = cluster_xy >> Y_WIDTH;14 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1);10 // get processor identifiers 11 unsigned int x; 12 unsigned int y; 13 unsigned int lpid; 14 giet_proc_xyp( &x, &y, &lpid ); 15 15 16 16 giet_tty_printf( "*** Starting task pgcd on processor[%d,%d,%d] at cycle %d\n\n",
Note: See TracChangeset
for help on using the changeset viewer.