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