Home
last modified time | relevance | path

Searched refs:AllTasks (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dtree_adapter.h65 TaskGroup *const AllTasks() const { return tree_ ? tree_->AllTasks() : nullptr; } in AllTasks() function
Dexecution_tree.h168 TaskGroup *const AllTasks() const { return tg_.get(); } in AllTasks() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dimage_folder_op.cc222 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
223 RETURN_IF_NOT_OK(folder_name_queue_->Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
224 RETURN_IF_NOT_OK(image_name_queue_->Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
225 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
231 …tree_->AllTasks()->CreateAsyncTask("walk dir", std::bind(&ImageFolderOp::StartAsyncWalk, this), nu… in LaunchThreadsAndInitOp()
Dceleba_op.cc55 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
56 RETURN_IF_NOT_OK(attr_info_queue_->Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
57 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
60 …tree_->AllTasks()->CreateAsyncTask("Walking attr file", std::bind(&CelebAOp::ParseAttrFile, this),… in LaunchThreadsAndInitOp()
Dflickr_op.cc48 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
49 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dcifar_op.cc53 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
54 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
55 RETURN_IF_NOT_OK(tree_->AllTasks()->CreateAsyncTask( in LaunchThreadsAndInitOp()
Dsbu_op.cc130 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
131 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dcityscapes_op.cc54 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
55 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dmanifest_op.cc51 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
52 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Ddiv2k_op.cc75 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
76 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dmnist_op.cc259 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
260 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dmindrecord_op.cc306 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
307 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dvoc_op.cc253 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
254 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
Dgenerator_op.cc164 RETURN_IF_NOT_OK(wp_.Register(tree_->AllTasks())); in operator ()()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Dfilter_op.cc44 RETURN_IF_NOT_OK(filter_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
45 RETURN_IF_NOT_OK(worker_queues_.Register(tree_->AllTasks())); in LaunchThreadsAndInitOp()
50 …tree_->AllTasks()->CreateAsyncTask("FilterCollector", std::bind(&FilterOp::Collector, this), nullp… in LaunchThreadsAndInitOp()
Dbuild_vocab_op.cc84 RETURN_IF_NOT_OK(distributor_queue_->Register(tree_->AllTasks())); in operator ()()
85 RETURN_IF_NOT_OK(collector_queue_->Register(tree_->AllTasks())); in operator ()()
90 …tree_->AllTasks()->CreateAsyncTask("collector", std::bind(&BuildVocabOp::CollectorThread, this), n… in operator ()()
Dcache_op.cc172 RETURN_IF_NOT_OK(rows_cache_done_.Register(tree_->AllTasks())); in RegisterResources()
173 RETURN_IF_NOT_OK(keys_miss_->Register(tree_->AllTasks())); in RegisterResources()
Dbuild_sentence_piece_vocab_op.cc46 RETURN_IF_NOT_OK(sentence_queue_->Register(tree_->AllTasks())); in operator ()()
47 RETURN_IF_NOT_OK(tree_->AllTasks()->CreateAsyncTask( in operator ()()
Dcache_base_op.cc207 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in RegisterResources()
208 RETURN_IF_NOT_OK(io_block_queues_.Register(tree_->AllTasks())); in RegisterResources()
209 RETURN_IF_NOT_OK(prefetch_queues_.Register(tree_->AllTasks())); in RegisterResources()
Ddevice_queue_op.cc130 RETURN_IF_NOT_OK(tree_->AllTasks()->CreateAsyncTask( in operator ()()
150 RETURN_IF_NOT_OK(data_info_queue_ptr_->Register(tree_->AllTasks())); in operator ()()
353 RETURN_IF_NOT_OK(data_info_queue_ptr_->Register(tree_->AllTasks())); in GetDataInfo()
393 RETURN_IF_NOT_OK(receive_queues_.Register(tree_->AllTasks())); in LaunchParallelCopyThread()
396 RETURN_IF_NOT_OK(tree_->AllTasks()->CreateAsyncTask("Push data to GPU queue", in LaunchParallelCopyThread()
Dparallel_op.cc80 return (worker_connector_->Register(tree_->AllTasks())); in RegisterWorkerConnectors()
Dcache_merge_op.cc55 RETURN_IF_NOT_OK(io_que_->Register(tree_->AllTasks())); in operator ()()
64 …tree_->AllTasks()->CreateAsyncTask("Cleaner", std::bind(&CacheMergeOp::Cleaner, this), nullptr, id… in operator ()()
Dcache_lookup_op.cc93 RETURN_IF_NOT_OK(leaf_op_wp_.Register(tree_->AllTasks())); in RegisterResources()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/map_op/
Dmap_op.cc123 Status rc = local_queues_.Register(tree_->AllTasks()); in operator ()()
124 RETURN_IF_NOT_OK(wait_for_workers_post_.Register(tree_->AllTasks())); in operator ()()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dtree_consumer.cc41 …CHECK_FAIL_RETURN_UNEXPECTED(tree_adapter_->AllTasks() != nullptr, " Execution tree has not been b… in Terminate()
42 return tree_adapter_->AllTasks()->ServiceStop(); in Terminate()
737 RETURN_UNEXPECTED_IF_NULL(tree->AllTasks()); in Terminate()
738 RETURN_IF_NOT_OK(tree->AllTasks()->ServiceStop()); in Terminate()

12