Home
last modified time | relevance | path

Searched defs:device_context (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dmemory_manager_actor.cc26const DeviceContext *device_context, OpContext<DeviceTensor> *const op_context, in AllocateMemory()
69 auto &device_context = (*device_contexts)[i]; in AllocateContinuousMemory() local
95 auto &device_context = (*device_contexts)[i]; in AllocateBatchMemory() local
113 …ctor::FreeMemory(const std::vector<DeviceTensor *> *free_list, const DeviceContext *device_context, in FreeMemory()
147 auto &device_context = (*device_contexts)[i]; in FreeBatchMemory() local
171const DeviceContext *device_context, size_t alloc_size, in SetOpContextMemoryAllocFail()
Ddata_prepare_actor.cc32 const DeviceContext *device_context, OpContext<DeviceTensor> *const context, in SyncTensorData()
197 const auto &device_context = graph_compiler_info_->device_contexts_[i]; in PrepareDataForDeviceTensorStore() local
278 const auto &device_context = graph_compiler_info_->device_contexts_[i]; in PrepareDataForStepMode() local
333 const DeviceContext *device_context, in PrepareDataForValueNodeTensor()
364 …repareActor::PrepareDataForValueNode(const ValueNodePtr &node, const DeviceContext *device_context, in PrepareDataForValueNode()
402 … const TensorPtr &tensor, const DeviceContext *device_context, in PrepareDataForWeightNode()
470 … &node, const AnfNodePtr &front_node, const TensorPtr &tensor, const DeviceContext *device_context, in PrepareDataForControlWeightNode()
Drecorder_actor.cc29const DeviceContext *device_context, OpContext<DeviceTensor> *const op_context) { in RecordInfo()
Dkernel_actor.h46 KernelActor(const std::string &name, const CNodePtr &kernel, const DeviceContext *device_context, in KernelActor()
Ddebug_actor.cc35const DeviceContext *device_context, OpContext<DeviceTensor> *const op_context, in Debug()
Dkernel_actor.cc152 … AllocateMemory(const std::vector<DeviceTensor *> &alloc_list, const DeviceContext *device_context, in AllocateMemory()
170 void FreeMemory(const std::vector<DeviceTensor *> &free_list, const DeviceContext *device_context) { in FreeMemory()
Doutput_actor.cc93 const auto &device_context = device_contexts_[i]; in UpdateOutputDeviceAddress() local
Dactor_common.h85 #define SET_OPCONTEXT_MEMORY_ALLOC_FAIL_BY_STRATEGY(strategy, op_context, device_context, kernel_na… argument
Ddata_source_actor.h86 …taSourceActor(const std::string &name, size_t buffer_capacity, const DeviceContext *device_context, in DeviceQueueDataSourceActor()
Dswitch_actor.h62 …SwitchActor(const std::string &name, DeviceContext *device_context, const CNodePtr &node, const in… in SwitchActor()
Dgather_actor.cc152 const auto &device_context = device_contexts_[device_tensor_store_key.first]; in FetchInputDeviceTensor() local
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.cc46 bool NodeDeviceAddressExist(const DeviceContext *device_context, const AnfNodePtr &kernel, size_t i… in NodeDeviceAddressExist()
57 void CreateParameterDeviceAddress(const DeviceContext *device_context, const KernelGraphPtr &graph)… in CreateParameterDeviceAddress()
106 void CreateDeviceAddressForTensorValue(const DeviceContext *device_context, const ValuePtr &node_va… in CreateDeviceAddressForTensorValue()
146 void CreateValueNodeDeviceAddress(const DeviceContext *device_context, const KernelGraphPtr &graph)… in CreateValueNodeDeviceAddress()
170 void CreateKernelOutputDeviceAddress(const DeviceContext *device_context, const KernelGraphPtr &gra… in CreateKernelOutputDeviceAddress()
195 void CreateKernelWorkspaceDeviceAddress(const DeviceContext *device_context, const KernelGraphPtr &… in CreateKernelWorkspaceDeviceAddress()
295 const DeviceContext *device_context) { in CompileGraph()
387 const DeviceContext *device_context) { in CompileGraph()
Dcontrol_node_parser.cc141 const DeviceContext *device_context) { in CreateDeviceTensorForValueNode()
177 … CreateDeviceTensorForFrontParameter(const AnfNodePtr &node, const DeviceContext *device_context) { in CreateDeviceTensorForFrontParameter()
927 …const auto &device_context = front_to_backend_parameters_[parameters[i - kCallInputStartPos]].seco… in FetchFrontValueNode() local
968 const auto &device_context = call_node_to_backend_parameter.second.second; in FetchFrontValueNode() local
996DeviceContext *device_context) { in FetchControlNodeParameter()
1053 const auto &device_context = device_contexts[i]; in FetchCallInputKernelGraph() local
1153 auto device_context = device_contexts[i]; in FetchFrontToBackendParameter() local
1167 auto device_context = device_contexts[i]; in FetchFrontToBackendParameter() local
1254 const auto &device_context = device_contexts[i]; in FetchFrontToBackendKernel() local
1384 const auto &device_context = device_contexts[i]; in FetchBackendParameterNode() local
Dgraph_scheduler.cc494 const auto &device_context = graph_compiler_info.device_contexts_[i]; in BuildDataSourceActor() local
593 const auto &device_context = graph_compiler_info.device_contexts_[i]; in BuildKernelActor() local
2225 const auto &device_context = graph_compiler_info.device_contexts_[i]; in PersistDeviceTensor() local
2423 for (const auto &device_context : actor->device_contexts_) { in DumpAbstractActor() local
/third_party/mindspore/mindspore/lite/src/common/
Dcontext_util.cc28 void PassBasicProperties(std::shared_ptr<T> device_info, const lite::DeviceContext &device_context)… in PassBasicProperties()
118 for (auto &device_context : context->device_list_) { in MSContextFromContext() local
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/
Ddevice_context_manager.cc44 std::shared_ptr<DeviceContext> device_context; in GetOrCreateDeviceContext() local
/third_party/ffmpeg/libavutil/
Dhwcontext_d3d11va.h64 ID3D11DeviceContext *device_context; member
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc237 const DeviceContext *device_context) { in UpdateOutputDeviceAddress()
358 const auto &device_context = in MindRTBackend() local
435 const auto &device_context = in CompileGraph() local
475 const auto &device_context = in CompileGraph() local
848 const auto &device_context = graph_compiler_info.device_contexts_[i]; in RunGraph() local
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/
Dgstd3d11memory.cpp326 ID3D11DeviceContext *device_context = in gst_d3d11_memory_map_cpu_access() local
345 ID3D11DeviceContext *device_context; in gst_d3d11_memory_upload() local
361 ID3D11DeviceContext *device_context; in gst_d3d11_memory_download() local
442 ID3D11DeviceContext *device_context = in gst_d3d11_memory_unmap_cpu_access() local
1262 ID3D11DeviceContext *device_context = in gst_d3d11_memory_copy() local
Dgstd3d11device.cpp110 ID3D11DeviceContext *device_context; member
1031 ComPtr < ID3D11DeviceContext > device_context; in gst_d3d11_device_new_internal() local
/third_party/ffmpeg/libavdevice/
Davdevice.h403 AVFormatContext *device_context; member
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx11.cpp476 bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context) in ImGui_ImplDX11_Init()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx11.cpp540 bool ImGui_ImplDX11_Init(ID3D11Device* device, ID3D11DeviceContext* device_context) in ImGui_ImplDX11_Init()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11decoder.cpp1408 ID3D11DeviceContext *device_context = in copy_to_system() local
1488 ID3D11DeviceContext *device_context = in copy_to_d3d11() local
Dgstd3d11pluginutils.cpp748 ID3D11DeviceContext *device_context; in gst_d3d11_buffer_copy_into() local

12