Changeset 574 for soft/giet_vm/applications/transpose
- Timestamp:
- May 19, 2015, 3:52:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/transpose/main.c
r543 r574 28 28 #define CLUSTERS_MAX 32 // max number of clusters 29 29 #define PROCS_MAX 4 // max number of processors per cluster 30 #define NN 128 // image size : nlines = npixels = 12831 #define NB_IMAGES 5// number of images to be handled32 #define FILE_PATHNAME "misc/ images.raw" // file pathname ondisk30 #define NN 256 // image size : nlines = npixels 31 #define NB_IMAGES 1 // number of images to be handled 32 #define FILE_PATHNAME "misc/lena.raw" // pathname on virtual disk 33 33 #define INSTRUMENTATION_OK 0 // display statistics on TTY when non zero 34 34 … … 139 139 140 140 // open file containing images 141 file = giet_fat_open( "misc/images.raw", 0);141 file = giet_fat_open( FILE_PATHNAME , 0 ); 142 142 143 143 if (file < 0) 144 144 { 145 145 giet_shr_printf("\n[TRANSPOSE ERROR] Proc [%d,%d,%d]" 146 " cannot open file misc/images.raw",147 x , y, lpid);146 " cannot open file %s", 147 x , y , lpid , FILE_PATHNAME ); 148 148 giet_exit(" open() failure"); 149 149 }
Note: See TracChangeset
for help on using the changeset viewer.