Changeset 543


Ignore:
Timestamp:
Mar 30, 2015, 6:23:27 PM (10 years ago)
Author:
bellefin
Message:

Using heap_init() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/transpose/main.c

    r515 r543  
    110110        }
    111111
    112         // Barrier initialisation
    113         sqt_barrier_init( &barrier, x_size , y_size , nprocs );
    114 
    115         giet_shr_printf("\n[TRANSPOSE] Proc [0,0,0] completes barrier init at cycle %d\n",
    116                         giet_proctime() );
    117 
    118112        // Distributed buffers allocation
    119113        // The buffers containing one image are distributed in the user
     
    125119            unsigned int ry = c % y_size;
    126120
     121            heap_init( rx, ry );
    127122            buf_in[c]  = remote_malloc( npixels/nclusters, rx, ry );
    128123            buf_out[c] = remote_malloc( npixels/nclusters, rx, ry );
     
    136131                            (unsigned int)buf_out[c] );
    137132        }
     133
     134        // Barrier initialisation
     135        sqt_barrier_init( &barrier, x_size , y_size , nprocs );
     136
     137        giet_shr_printf("\n[TRANSPOSE] Proc [0,0,0] completes barrier init at cycle %d\n",
     138                        giet_proctime() );
    138139
    139140        // open file containing images
Note: See TracChangeset for help on using the changeset viewer.