Changeset 488 for soft/giet_vm/applications/classif/classif.py
- Timestamp:
- Jan 8, 2015, 11:55:26 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/classif/classif.py
r473 r488 12 12 # The mapping of tasks on processors is the following: 13 13 # - one "load" task per cluster, 14 # - (nprocs-1) "analyse" task per cluster. 14 # - one "store" task per cluster, 15 # - (nprocs-2) "analyse" task per cluster. 15 16 # The mapping of virtual segments on the clusters is the following: 16 17 # - The code vsegs are replicated on all clusters. … … 25 26 # - nprocs : number of processors per cluster 26 27 # 27 # WARNING: The target architecture cannot contain more than (4*4) clusters28 # and must contain at least 2processors per cluster.28 # WARNING: The target architecture cannot contain less 29 # than 3 processors per cluster. 29 30 #################################################################################### 30 31 … … 38 39 y_width = mapping.y_width 39 40 40 assert (nprocs >= 2)41 assert (nprocs >= 3) 41 42 42 43 # define vsegs base & size … … 100 101 task_index = 0 101 102 task_name = 'load_%d_%d_%d' %(x,y,p) 103 elif ( p== 1 ): # task store 104 task_index = 1 105 task_name = 'store_%d_%d_%d' %(x,y,p) 102 106 else : # task analyse 103 task_index = 1107 task_index = 2 104 108 task_name = 'analyse_%d_%d_%d' % (x,y,p) 105 109
Note: See TracChangeset
for help on using the changeset viewer.