Lines Matching refs:tid
59 int tid = value / N; in check_item() local
61 CHECK_MESSAGE( next_value[tid] == T(offset), "" ); in check_item()
62 ++next_value[tid]; in check_item()
111 bool check( int tid, T v ) { in check()
113 if ( my_touches[tid][v] != false ) { in check()
117 if ( v <= my_last_touch[tid][v_tid] ) { in check()
121 my_last_touch[tid][v_tid] = v; in check()
122 my_touches[tid][v] = true; in check()
158 void operator()(int tid) const { in operator ()()
162 my_touches.check( tid, v ); in operator ()()
176 void operator()(int tid) const { in operator ()()
182 CHECK_MESSAGE( my_q.try_put( T (N*tid + j ) ) == true, "" ); in operator ()()
188 my_touches.check( tid, v ); in operator ()()
264 for (int tid = 0; tid < num_threads; ++tid) next_value[tid] = T(0); in test_parallel() local
271 for (int tid = 0; tid < num_threads; ++tid) { in test_parallel() local
272 CHECK_MESSAGE( next_value[tid] == T(N), "" ); in test_parallel()