Searched refs:AddTask (Results 1 – 12 of 12) sorted by relevance
27 AddTask(F&& f, Args&&... args) in AddTask() function in TaskPoolImpl86 AddTask(F&& f, Args&&... args) in AddTask() function in TaskPool88 return GetImplementation().AddTask(std::forward<F>(f), std::forward<Args>(args)...); in AddTask()118 auto f = AddTask(std::forward<H>(h)); in Run()136 tasks.emplace_back(TaskPool::AddTask([](int i){ in main()
49 batch.AddTask(std::unique_ptr<FakeTask>(task0)); in TEST()58 batch.AddTask(std::unique_ptr<FakeTask>(task1)); in TEST()85 batch.AddTask(std::unique_ptr<FakeTask>(new FakeTask(3))); in TEST()99 batch->AddTask(std::unique_ptr<FakeTask>(new FakeTask(3))); in TEST()
89 void AddTask(std::unique_ptr<TaskType> task);214 void Batch<TaskType>::AddTask(std::unique_ptr<TaskType> task) { in AddTask() function
657 batches_.back()->AddTask(std::move(*task)); in ScheduleWithoutSplit()747 batches_.back()->AddTask(std::move(output_tasks[i])); in ScheduleWithSplit()
510 current_batch_->AddTask(std::move(*task)); in Schedule()
691 current_batch_->AddTask(std::move(task)); in Schedule()
55 absl::Status AddTask(ComputeTask* task);
75 absl::Status ComputeTask::AddTask(ComputeTask* task) { in AddTask() function in tflite::gpu::metal::ComputeTask
122 return dst->task.AddTask(&src->task); in MergeNodes()
130 base::BindOnce(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in ThreadMain()145 void AddTask() { in AddTask() function in base::__anon50f2eebc0111::AddRemoveThread164 base::BindOnce(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in AddTask()
356 TEST(SystemSettingsAddTask, AddTask) { in TEST() argument
466 Status AddTask(const TaskInfo& task_info) TF_EXCLUSIVE_LOCKS_REQUIRED(mu_) { in AddTask() function in tensorflow::data::DataServiceDatasetOp::Dataset::Iterator541 Status s = AddTask(it->second); in UpdateTasks()