Changeset 720 for soft/giet_vm/applications/classif/classif.c
- Timestamp:
- Oct 11, 2015, 6:23:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/classif/classif.c
r708 r720 546 546 giet_proc_xyp( &x_id , &y_id , &p_id ); 547 547 548 // get & checkplat-form parameters548 // get plat-form parameters 549 549 unsigned int x_size; // number of clusters in a row 550 550 unsigned int y_size; // number of clusters in a column … … 552 552 giet_procs_number( &x_size , &y_size , &nprocs ); 553 553 554 // shared TTY allocation 555 giet_tty_alloc( 1 ); 556 lock_init( &tty_lock); 557 558 // check plat-form parameters 554 559 giet_pthread_assert( ((nprocs >= 3) && (nprocs <= 8)), 555 560 "[CLASSIF ERROR] number of procs per cluster must in [3...8]"); … … 570 575 } 571 576 572 // shared TTY allocation573 giet_tty_alloc( 1 );574 lock_init( &tty_lock);575 576 577 printf("\n[CLASSIF] start at cycle %d on %d cores\n", 577 578 giet_proctime(), (x_size * y_size * nprocs) ); 578 579 579 580 // thread index 580 // required b tpthread_create()581 // required by pthread_create() 581 582 // unused in this appli because no pthread_join() 582 583 pthread_t trdid;
Note: See TracChangeset
for help on using the changeset viewer.