Home
last modified time | relevance | path

Searched refs:task_element_t (Results 1 – 2 of 2) sorted by relevance

/external/pytorch/c10/core/
Dthread_pool.h43 struct task_element_t { struct
50 explicit task_element_t(std::function<void()> f) in task_element_t() function
52 explicit task_element_t(std::function<void(std::size_t)> f) in task_element_t() argument
56 std::queue<task_element_t> tasks_;
Dthread_pool.cpp123 task_element_t tasks = std::move(tasks_.front()); in main_loop()