Home
last modified time | relevance | path

Searched refs:PerThread (Results 1 – 4 of 4) sorted by relevance

/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DNonBlockingThreadPool.h76 PerThread* pt = GetPerThread(); in Schedule()
105 const PerThread* pt = in CurrentThreadId()
117 struct PerThread { struct
118 constexpr PerThread() : pool(NULL), rand(0), thread_id(-1) { } in PerThread() argument
136 PerThread* pt = GetPerThread(); in WorkerLoop() argument
174 PerThread* pt = GetPerThread(); in Steal()
238 PerThread* pt = GetPerThread(); in NonEmptyQueueIndex()
255 static EIGEN_STRONG_INLINE PerThread* GetPerThread() { in GetPerThread()
256 EIGEN_THREAD_LOCAL PerThread per_thread_; in GetPerThread()
257 PerThread* pt = &per_thread_; in GetPerThread()
DSimpleThreadPool.h77 const PerThread* pt = this->GetPerThread(); in CurrentThreadId()
88 PerThread* pt = GetPerThread(); in WorkerLoop()
130 struct PerThread { struct
131 constexpr PerThread() : pool(NULL), thread_id(-1) { } in PerThread() argument
144 PerThread* GetPerThread() const { in GetPerThread() argument
145 EIGEN_THREAD_LOCAL PerThread per_thread; in GetPerThread()
/external/tensorflow/tensorflow/core/framework/
Drun_handler.h216 struct PerThread { struct
217 constexpr PerThread() : pool(nullptr), thread_id(-1) {} in PerThread() argument
244 PerThread* GetPerThread();
Drun_handler.cc443 RunHandlerThreadPool::PerThread* RunHandlerThreadPool::GetPerThread() { in GetPerThread()
444 thread_local RunHandlerThreadPool::PerThread per_thread_; in GetPerThread()
445 RunHandlerThreadPool::PerThread* pt = &per_thread_; in GetPerThread()
450 const PerThread* pt = const_cast<RunHandlerThreadPool*>(this)->GetPerThread(); in CurrentThreadId()
522 PerThread* pt = GetPerThread(); in WorkerLoop()