Changeset 669 for soft/giet_vm/applications/coproc/main.c
- Timestamp:
- Jul 27, 2015, 8:40:45 PM (10 years ago)
- File:
- 
          - 1 edited
 
 - 
          soft/giet_vm/applications/coproc/main.c (modified) (5 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
        soft/giet_vm/applications/coproc/main.cr589 r669 34 34 giet_proc_xyp( &x, &y, &lpid ); 35 35 36 giet_shr_printf("\n*** Starting coproc application on processor" 36 // get a private TTY terminal 37 giet_tty_alloc( 0 ); 38 39 giet_tty_printf("\n*** Starting coproc application on processor" 37 40 "[%d,%d,%d] at cycle %d\n", 38 41 x, y, lpid, giet_proctime() ); … … 63 66 64 67 if ( VERBOSE ) 65 giet_ shr_printf("\n*** get GCD coprocessor at cycle %d\n", giet_proctime() );68 giet_tty_printf("\n*** get GCD coprocessor at cycle %d\n", giet_proctime() ); 66 69 67 70 //////////////////////// initializes channel for OPA … … 87 90 88 91 if ( VERBOSE ) 89 giet_ shr_printf("\n*** channels initialized at cycle %d\n", giet_proctime() );92 giet_tty_printf("\n*** channels initialized at cycle %d\n", giet_proctime() ); 90 93 91 94 /////////////////////// starts communication channels … … 93 96 94 97 if ( VERBOSE ) 95 giet_ shr_printf("\n*** start GCD coprocessor at cycle %d\n", giet_proctime() );98 giet_tty_printf("\n*** start GCD coprocessor at cycle %d\n", giet_proctime() ); 96 99 97 100 /////////////////////// wait coprocessor completion … … 102 105 103 106 if ( VERBOSE ) 104 giet_ shr_printf("\n*** GCD computation completed at cycle %d\n", giet_proctime() );107 giet_tty_printf("\n*** GCD computation completed at cycle %d\n", giet_proctime() ); 105 108 106 109 // display result 107 110 for ( word = 0 ; word < VECTOR_SIZE ; word++ ) 108 111 { 109 giet_ shr_printf("pgcd( %d , %d ) = %d\n",112 giet_tty_printf("pgcd( %d , %d ) = %d\n", 110 113 opa[word] , opb[word] , res[word] ); 111 114 } 
Note: See TracChangeset
          for help on using the changeset viewer.
      ![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)
