Home | History | Annotate | Download | only in internal

Lines Matching refs:Worker

105 // (e.g. worker threads having finished a GEMM and waiting until the next GEMM)
146 // This is how the master thread waits for all the worker threads
205 // A workload for a worker.
213 // A worker thread.
214 class Worker {
223 explicit Worker(BlockingCounter* counter_to_decrement_when_ready)
232 ~Worker() {
237 // Changes State; may be called from either the worker thread
241 ScopedProfilingLabel label("Worker::ChangeState");
269 ScopedProfilingLabel label("Worker::ThreadFunc");
300 static_cast<Worker*>(arg)->ThreadFunc();
304 // Called by the master thead to give this worker work to do.
305 // It is only legal to call this if the worker
336 // master thread of when this worker switches to the 'Ready' state.
385 // If any new worker has to be created, this function waits for it to
393 workers_.push_back(new Worker(&counter_to_decrement_when_ready_));
403 std::vector<Worker*> workers_;
408 // For N-threaded operations, we will use only N-1 worker threads
418 // RHS has been packed by the master thread; each worker thread
512 // The maximum number of worker threads to use (including
610 // pack a block of RHS and then start worker threads to pack a block of LHS
673 // Give work to each worker.