Changeset 453 for soft/giet_vm/giet_python/genmap
- Timestamp:
- Nov 11, 2014, 4:27:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/genmap
r441 r453 20 20 # - x_size : number of clusters in a row 21 21 # - y_size : number of clusters in a column 22 # - nprocs : number of processors per cluster 22 # - nb_procs : number of processors per cluster 23 # - nb_ttys : number of TTY channels 24 # - fbf_size : frame buffer width & heigth 23 25 ####################################################################################### 24 26 # The supported platforms are: … … 54 56 help = 'define number of clusters in a column' ) 55 57 56 parser.add_option( '--p', type = 'int', dest = 'n procs',58 parser.add_option( '--p', type = 'int', dest = 'nb_procs', 57 59 default = 2, 58 60 help = 'define number of processors per cluster' ) 61 62 parser.add_option( '--tty', type = 'int', dest = 'nb_ttys', 63 default = 1, 64 help = 'define number of tty channels' ) 59 65 60 66 parser.add_option( '--fbf', type = 'int', dest = 'fbf_size', … … 114 120 x_size = options.x_size # number of clusters in a row 115 121 y_size = options.y_size # number of clusters in a column 116 nprocs = options.nprocs # number of processors in a cluster 122 nb_procs = options.nb_procs # number of processors in a cluster 123 nb_ttys = options.nb_ttys # number of TTY channels 117 124 fbf_size = options.fbf_size # frame buffer width & heigth 118 125 … … 150 157 151 158 # build mapping calling the function (function name) 152 mapping = select.arch( x_size, y_size, n procs, fbf_size )159 mapping = select.arch( x_size, y_size, nb_procs, nb_ttys, fbf_size ) 153 160 print '[genmap] platform %s build' % mapping.name 154 161
Note: See TracChangeset
for help on using the changeset viewer.