Searched refs:using_new_threadpool (Results 1 – 1 of 1) sorted by relevance
8 static thread_local bool using_new_threadpool{false}; variable11 use_new_threadpool_ = using_new_threadpool; in WithCastToNewThreadPool()12 using_new_threadpool = use_new_threadpool; in WithCastToNewThreadPool()15 using_new_threadpool = use_new_threadpool_; in ~WithCastToNewThreadPool()38 if (caffe2::using_new_threadpool) { in legacy_pthreadpool_compute_1d()