Changeset 162
- Timestamp:
- May 10, 2011, 8:33:49 AM (14 years ago)
- Location:
- trunk/softs/soft_filter_giet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/soft_filter_giet/ldscript
r158 r162 11 11 12 12 NB_CLUSTERS = 4; /* number of clusters */ 13 NB_PROCS = 1; /* number of processors per cluster */13 NB_PROCS = 4; /* number of processors per cluster */ 14 14 NB_TASKS = 1; /* number of tasks per processor */ 15 15 NB_TIMERS = 1; /* max number of timers per processor */ -
trunk/softs/soft_filter_giet/main.c
r159 r162 375 375 PRINTF("\n*** Starting display at cycle %d (%d)\n", date, delta); 376 376 377 for ( l = 0 ; l < lines_per_task ; l++) 378 { 379 for ( p = 0 ; p < NP ; p++) 377 first = lid*lines_per_task; 378 last = first + lines_per_task; 379 380 for ( l=first ; l<last ; l++) 381 { 382 for ( p=0 ; p<NP ; p++) 380 383 { 381 384 TZ(cid,l,p) = (unsigned char)(((TD(cid,l,p) + TC(cid,l,p))>>8) & 0xFF); 382 385 } 383 fb_write(NP*(cid*lines_per_cluster+l id*lines_per_task+l), &TZ(cid,l,0), NP);386 fb_write(NP*(cid*lines_per_cluster+l), &TZ(cid,l,0), NP); 384 387 } 385 388
Note: See TracChangeset
for help on using the changeset viewer.