Changeset 571 for trunk/softs/test_llsc/scripts/LLSCTestGenerator
- Timestamp:
- Oct 31, 2013, 5:47:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/test_llsc/scripts/LLSCTestGenerator/Program.hpp
r546 r571 89 89 res << " tab = (int *) SRL_MEMSPACE_ADDR(memspace);" << endl; 90 90 res << " srl_barrier_t barrier = SRL_GET_BARRIER(barrier);" << endl; 91 res << " srl_barrier_t barrier2 = SRL_GET_BARRIER(barrier2);" << endl; 91 92 res << endl; 92 93 res << " // Initialisation du tableau" << endl; … … 99 100 res << " run0();" << endl; 100 101 res << endl; 101 res << " barrier_wait(barrier );" << endl;102 res << " barrier_wait(barrier2);" << endl; 102 103 res << endl; 103 104 res << " for (i = 0; i < " << tab_size << "; i++) {" << endl; … … 158 159 res << " tab = (int *) SRL_MEMSPACE_ADDR(memspace);" << endl; 159 160 res << " srl_barrier_t barrier = SRL_GET_BARRIER(barrier);" << endl; 161 res << " srl_barrier_t barrier2 = SRL_GET_BARRIER(barrier2);" << endl; 160 162 res << " int thread_id = SRL_GET_CONST(id);" << endl; 161 163 res << endl; … … 174 176 res << " }" << endl; 175 177 res << endl; 176 res << " barrier_wait(barrier );" << endl;178 res << " barrier_wait(barrier2);" << endl; 177 179 res << endl; 178 180 res << " srl_exit();" << endl;
Note: See TracChangeset
for help on using the changeset viewer.