Not require tbb
1 unresolved thread
1 unresolved thread
We shift to using std::thread
, not requiring tbb anymore.
Merge request reports
Activity
Filter activity
assigned to @dovombru
262 event_reader->offsets(BankTypes::FT).begin(), 263 event_reader->events(BankTypes::FT).size(), 264 event_reader->offsets(BankTypes::FT).size(), 265 number_of_events_requested, 266 number_of_repetitions}; 271 // Create and invoke all threads 272 for (uint i=0; i<number_of_threads; ++i) { 273 threads.emplace_back(thread_execution, i); 274 } 267 275 268 stream_wrapper.run_stream(i, runtime_options); 269 } 270 ); 276 // Join all threads 277 for (auto& thread : threads) { 278 thread.join(); Here is an excerpt taken from cplusplus with the same join code:
http://www.cplusplus.com/reference/thread/thread/thread/
I couldn’t find a join all.
From some quick tests, I got the expected throughput numbers, similar to what tbb was doing before.
Please register or sign in to reply