Changeset 803 for trunk/platforms/tsar_generic_leti/tsar_leti_cluster/caba
- Timestamp:
- Sep 12, 2014, 3:10:04 PM (10 years ago)
- Location:
- trunk/platforms/tsar_generic_leti/tsar_leti_cluster/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_leti/tsar_leti_cluster/caba/source/include/tsar_leti_cluster.h
r692 r803 166 166 size_t y_width, // y field bits 167 167 size_t l_width, // l field bits 168 size_t p_width, // p field bits 168 169 size_t tgtid_memc, 169 170 size_t tgtid_xicu, -
trunk/platforms/tsar_generic_leti/tsar_leti_cluster/caba/source/src/tsar_leti_cluster.cpp
r732 r803 32 32 size_t y_width, 33 33 size_t l_width, 34 size_t p_width, 34 35 size_t tgtid_memc, 35 36 size_t tgtid_xicu, … … 87 88 for (size_t p = 0; p < nb_procs; p++) 88 89 { 89 uint32_t global_proc_id = cluster_xy * nb_procs+ p;90 uint32_t global_proc_id = (cluster_xy << p_width) + p; 90 91 uint32_t global_cc_id = (cluster_xy << l_width) + p; 91 92 bool trace_ok = trace_proc_ok and (trace_proc_id == global_proc_id);
Note: See TracChangeset
for help on using the changeset viewer.