Home
last modified time | relevance | path

Searched refs:SetContext (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dcell.cc76 void GraphCell::SetContext(const std::shared_ptr<Context> &context) { in SetContext() function in mindspore::GraphCell
85 executor_->SetContext(context); in SetContext()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/ms/
Dms_model.cc78 graph_cell->SetContext(model_context_); in GenerateGraphCell()
104 graph_cell->SetContext(model_context_); in Build()
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/
Dgraph_impl.h37 void SetContext(const std::shared_ptr<Context> &context) { graph_context_ = context; } in SetContext() function
/third_party/mindspore/mindspore/lite/src/runtime/
Dinner_allocator.h40 void SetContext(const AllocatorContext &ctx);
Dinner_allocator.cc31 void DefaultAllocator::SetContext(const AllocatorContext &ctx) { in SetContext() function in mindspore::DefaultAllocator
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/
Dmodel_impl.h71 void SetContext(const std::shared_ptr<Context> &model_context) { in SetContext() function
Dmodel.cc63 impl_->SetContext(model_context); in Build()
/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/
Dopencl_allocator.h56 void SetContext(const AllocatorContext &ctx);
Dopencl_allocator.cc29 void OpenCLAllocator::SetContext(const AllocatorContext &ctx) { in SetContext() function in mindspore::lite::opencl::OpenCLAllocator
/third_party/mindspore/include/api/
Dcell.h101 void SetContext(const std::shared_ptr<Context> &context);
/third_party/mindspore/mindspore/lite/src/cxx_api/model/
Dmodel_impl.h112 void SetContext(const std::shared_ptr<Context> &context) { context_ = context; } in SetContext() function
Dmodel.cc89 impl_->SetContext(model_context); in Build()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.h61 void SetContext() override;
Dascend_device_address.cc82 runtime_instance->SetContext(); in SyncMemory()
Dascend_kernel_runtime.cc125 void AscendKernelRuntime::SetContext() { in SetContext() function in mindspore::device::ascend::AscendKernelRuntime
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.h81 virtual void SetContext() {} in SetContext() function
/third_party/spirv-tools/source/opt/
Dir_context.h109 module_->SetContext(this); in IRContext()
126 module_->SetContext(this); in IRContext()
Dmodule.h260 void SetContext(IRContext* c) { context_ = c; } in SetContext() function
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dir_context.h110 module_->SetContext(this); in IRContext()
128 module_->SetContext(this); in IRContext()
Dmodule.h260 void SetContext(IRContext* c) { context_ = c; } in SetContext() function
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dir_context.h110 module_->SetContext(this); in IRContext()
128 module_->SetContext(this); in IRContext()
Dmodule.h260 void SetContext(IRContext* c) { context_ = c; } in SetContext() function