/third_party/mindspore/mindspore/ccsrc/pipeline/jit/ |
D | action.h | 31 using ActionItem = std::pair<std::string, std::function<bool(ResourcePtr)>>; 33 bool ParseAction(const ResourcePtr &res); 34 bool SymbolResolveAction(const ResourcePtr &res); 35 bool AutoMonadAction(const ResourcePtr &res); 36 bool AbstractSpecializeAction(const ResourcePtr &res); 37 bool GeOptimizeAction(const ResourcePtr &res); 38 bool VmOptimizeAction(const ResourcePtr &res); 39 bool PynativeElimOpt(const ResourcePtr &res); 40 bool TaskEmitAction(const ResourcePtr &res); 41 bool ExecuteAction(const ResourcePtr &res); [all …]
|
D | pass.h | 34 using PassItem = std::pair<std::string, std::function<bool(ResourcePtr)>>; 41 bool CconvPass(const ResourcePtr &res); 42 bool PipelineSplitPass(const ResourcePtr &res); 43 bool ValidatePass(const ResourcePtr &res); 44 bool ConvertPrepareAdapt(const ResourcePtr &res); 45 bool AddCacheEmbeddingPass(const ResourcePtr &res); 46 bool InferenceOptPreparePass(const ResourcePtr &res); 48 bool PynativeOptPass(const ResourcePtr &res); 50 FuncGraphPtr PrimBpOptPassStep1(const opt::irpass::OptimizeIRPassLib &irpass, const ResourcePtr &re… 51 FuncGraphPtr PrimBpOptPassStep2(const opt::irpass::OptimizeIRPassLib &irpass, const ResourcePtr &re… [all …]
|
D | pass.cc | 65 void DoRenormalize(const bool &changed, const FuncGraphPtr &func_graph, const ResourcePtr &res) { in DoRenormalize() 80 bool SimplifyDataStructuresPass(const ResourcePtr &res) { in SimplifyDataStructuresPass() 89 bool TransformTopGraphPass(const ResourcePtr &res) { in TransformTopGraphPass() 108 bool CleanAfterOptAPass(const ResourcePtr &res) { in CleanAfterOptAPass() 117 FuncGraphPtr PrimBpOptPassStep1(const opt::irpass::OptimizeIRPassLib &irpass, const ResourcePtr &re… in PrimBpOptPassStep1() 143 FuncGraphPtr PrimBpOptPassStep2(const opt::irpass::OptimizeIRPassLib &irpass, const ResourcePtr &re… in PrimBpOptPassStep2() 173 FuncGraphPtr BpropGraphFinalOptPass(const ResourcePtr &res) { in BpropGraphFinalOptPass() 517 void InitOpt(const ResourcePtr &res) { in InitOpt() 547 bool OptPassGroup(const ResourcePtr &res, const std::string &name) { in OptPassGroup() 566 bool OptPassA1A2(const ResourcePtr &res) { return OptPassGroup(res, "a1a2"); } in OptPassA1A2() [all …]
|
D | action.cc | 82 void ResetMindRTEnable(const ResourcePtr &res) { in ResetMindRTEnable() 108 void TaskEmitActionForMindRT(const ResourcePtr &res) { in TaskEmitActionForMindRT() 119 void ExecuteActionForMindRT(const ResourcePtr &res) { in ExecuteActionForMindRT() 192 abstract::AnalysisResult AbstractAnalyze(const ResourcePtr &res, const FuncGraphPtr &func_graph, in AbstractAnalyze() 229 FuncGraphPtr ProgramSpecialize(const ResourcePtr &res, const FuncGraphPtr &func_graph, in ProgramSpecialize() 242 FuncGraphPtr Renormalize(const ResourcePtr &res, const FuncGraphPtr &func_graph, in Renormalize() 266 const FuncGraphPtr GetLoadedGraph(const ResourcePtr &res) { in GetLoadedGraph() 290 void CheckRootInputShapeAndType(const ResourcePtr &res, const FuncGraphPtr &loaded_graph) { in CheckRootInputShapeAndType() 341 bool ParseAction(const ResourcePtr &res) { in ParseAction() 385 bool CombineLikeGraphs(const ResourcePtr &res) { in CombineLikeGraphs() [all …]
|
D | pipeline.h | 48 …Pipeline(const ResourcePtr &res, const std::vector<ActionItem> &actions) : resource_(res), actions… in Pipeline() 54 ResourcePtr resource() { return resource_; } in resource() 57 ResourcePtr resource_; 85 ResourcePtr GetResource(const std::string &phase); 175 void ProcessVmArgInner(const py::tuple &args, const ResourcePtr &res, VectorRef *const arg_list);
|
D | pipeline_split.h | 25 bool PipelineSplit(const ResourcePtr &res);
|
D | base.h | 34 ResourcePtr resource;
|
D | pipeline.cc | 155 void SetLoopCount(const ResourcePtr &resource) { in SetLoopCount() 173 void GetCachedFuncGraph(const ResourcePtr &resource, const std::string &queue_name) { in GetCachedFuncGraph() 210 void CacheFuncGraph(const ResourcePtr &resource) { in CacheFuncGraph() 334 ResourcePtr GraphExecutorPy::GetResource(const std::string &phase) { in GetResource() 382 ResourcePtr res = GetResource(phase); in GetVmEvalFunc() 686 std::vector<ActionItem> GetPipeline(const ResourcePtr &resource, const std::string &phase, bool use… in GetPipeline() 754 ResourcePtr resource = std::make_shared<Resource>(source_obj); in CompileInner() 819 ResourcePtr res = GetResource(py::cast<std::string>(phase)); in ReleaseResource() 874 void CacheValidateFuncGraph(const std::string &phase, const ResourcePtr &resource) { in CacheValidateFuncGraph() 954 void ProcessVmArgInner(const py::tuple &args, const ResourcePtr &res, VectorRef *const arg_list) { in ProcessVmArgInner()
|
D | resource.h | 104 using ResourcePtr = std::shared_ptr<pipeline::Resource>; variable
|
D | pipeline_split.cc | 71 bool PipelineSplit(const ResourcePtr &res) { in PipelineSplit()
|
/third_party/flutter/engine/flutter/shell/common/ |
D | pipeline.h | 33 using ResourcePtr = std::unique_ptr<Resource>; variable 63 void Complete(ResourcePtr resource) { in Complete() 76 using Continuation = std::function<void(ResourcePtr, size_t)>; 123 using Consumer = std::function<void(ResourcePtr)>; 135 ResourcePtr resource; in Consume() 165 std::deque<std::pair<ResourcePtr, size_t>> queue_; 167 void ProducerCommit(ResourcePtr resource, size_t trace_id) { in ProducerCommit() 177 void ProducerCommitFront(ResourcePtr resource, size_t trace_id) { in ProducerCommitFront()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass_manager.h | 65 void SetResource(pipeline::ResourcePtr resource) { resource_ = resource; } in SetResource() 66 pipeline::ResourcePtr GetResource() { return resource_; } in GetResource() 77 pipeline::ResourcePtr resource_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 181 ResourceOwnerImpl(ResourcePtrT ResourcePtr) in ResourceOwnerImpl() argument 182 : ResourcePtr(std::move(ResourcePtr)) {} in ResourceOwnerImpl() 184 ResourceT& getResource() const override { return *ResourcePtr; } in getResource() 187 ResourcePtrT ResourcePtr; 192 wrapOwnership(ResourcePtrT ResourcePtr) { in wrapOwnership() argument 194 return std::make_unique<RO>(std::move(ResourcePtr)); in wrapOwnership()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | grad.h | 29 using ResourcePtr = std::shared_ptr<pipeline::Resource>; variable
|
D | grad.cc | 27 FuncGraphPtr PartialEliminateOptPass(const ResourcePtr &resource, const FuncGraphPtr &func_graph) { in PartialEliminateOptPass()
|
D | prim_bprop_optimizer.h | 147 FuncGraphPtr BpropGraphFinalOpt(const pipeline::ResourcePtr &res) const;
|
D | prim_bprop_optimizer.cc | 300 pipeline::ResourcePtr resource = std::make_shared<pipeline::Resource>(); in PrimBpropOptStep2() 310 FuncGraphPtr PrimBpropOptimizer::BpropGraphFinalOpt(const pipeline::ResourcePtr &res) const { in BpropGraphFinalOpt()
|
D | kpynative.cc | 55 FuncGraphPtr ZerosLikePrimOptPass(const pipeline::ResourcePtr &res) { in ZerosLikePrimOptPass() 88 pipeline::ResourcePtr resource = std::make_shared<pipeline::Resource>(); in GetZerosLike() 110 pipeline::ResourcePtr resource = std::make_shared<pipeline::Resource>(); in GetHyperAdd() 149 pipeline::ResourcePtr resource = std::make_shared<pipeline::Resource>(); in GetOnesLike()
|
/third_party/mindspore/tests/ut/cpp/optimizer/ |
D | optimizer_test.cc | 45 pipeline::ResourcePtr res = std::make_shared<pipeline::Resource>(); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_execute.h | 64 …TopCellInfo(bool topest, size_t grad_order, pipeline::ResourcePtr r, FuncGraphPtr df, std::string … in TopCellInfo() 88 pipeline::ResourcePtr resource() const { return resource_; } in resource() 128 pipeline::ResourcePtr resource_{nullptr}; 212 void SaveForwardTensorInfoInBpropGraph(const pipeline::ResourcePtr &resource) const; 228 …Cnode(const py::object &cell, const py::tuple &forward_args, const pipeline::ResourcePtr &resource,
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | util.h | 57 static bool FuseServerCommOps(const pipeline::ResourcePtr &res);
|
D | util.cc | 131 bool Util::FuseServerCommOps(const pipeline::ResourcePtr &res) { in FuseServerCommOps()
|
/third_party/mindspore/tests/ut/cpp/common/ |
D | backend_common_test.cc | 78 pipeline::ResourcePtr resource_ = std::make_shared<pipeline::Resource>(); in GetFuncGraph()
|
/third_party/mindspore/tests/ut/cpp/optimizer/ad/ |
D | kpynative_test.cc | 36 pipeline::ResourcePtr resource = std::make_shared<pipeline::Resource>();
|
D | ad_test.cc | 40 pipeline::ResourcePtr resourcePtr = std::make_shared<pipeline::Resource>();
|