Home
last modified time | relevance | path

Searched refs:kernel_mod_ptr (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ascend/
Dakg_ascend_kernel_build.cc39 auto kernel_mod_ptr = std::make_shared<AkgKernelMod>(kernel_pack); in AkgSetKernelMod() local
41 kernel_mod_ptr->SetInputSizeList(json_generator.input_size_list()); in AkgSetKernelMod()
42 kernel_mod_ptr->SetOutputSizeList(json_generator.output_size_list()); in AkgSetKernelMod()
43 kernel_mod_ptr->SetWorkspaceSizeList(kernel_json_info.workspaces); in AkgSetKernelMod()
44 AnfAlgo::SetKernelMod(kernel_mod_ptr, anf_node.get()); in AkgSetKernelMod()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/gpu/
Dakg_gpu_kernel_build.cc41 auto kernel_mod_ptr = std::make_shared<GpuKernelMod>(kernel_pack); in AkgSetKernelMod() local
43 kernel_mod_ptr->SetInputSizeList(json_generator.input_size_list()); in AkgSetKernelMod()
44 kernel_mod_ptr->SetOutputSizeList(json_generator.output_size_list()); in AkgSetKernelMod()
45 kernel_mod_ptr->SetWorkspaceSizeList(kernel_json_info.workspaces); in AkgSetKernelMod()
46 AnfAlgo::SetKernelMod(kernel_mod_ptr, anf_node.get()); in AkgSetKernelMod()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/aicpu/
Daicpu_kernel_build.cc77 …onst std::shared_ptr<AnfNode> &anf_node, const std::shared_ptr<AicpuOpKernelMod> &kernel_mod_ptr) { in SetIOSize() argument
79 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in SetIOSize()
88 kernel_mod_ptr->SetInputSizeList(input_size_list); in SetIOSize()
101 kernel_mod_ptr->SetOutputSizeList(output_size_list); in SetIOSize()
267 const std::shared_ptr<AicpuOpKernelMod> &kernel_mod_ptr) { in CreateNodeDefBytes() argument
268 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in CreateNodeDefBytes()
278 kernel_mod_ptr->SetNodeDef(nodeDefStr); in CreateNodeDefBytes()
362 …onst std::shared_ptr<AnfNode> &anf_node, const std::shared_ptr<AicpuOpKernelMod> &kernel_mod_ptr) { in CreateExtInfo() argument
364 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in CreateExtInfo()
403 kernel_mod_ptr->SetExtInfo(ext_info); in CreateExtInfo()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_kernel_parallel_build.cc277 auto kernel_mod_ptr = GenKernelMod(input_size_list, output_size_list, cached_kernel_pack); in SearchInCache() local
278 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in SearchInCache()
279 AnfAlgo::SetKernelMod(kernel_mod_ptr, node); in SearchInCache()
291 auto kernel_mod_ptr = std::make_shared<TbeKernelMod>(kernel_pack); in GenKernelMod() local
292 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in GenKernelMod()
293 kernel_mod_ptr->SetInputSizeList(input_size_list); in GenKernelMod()
294 kernel_mod_ptr->SetOutputSizeList(output_size_list); in GenKernelMod()
295 kernel_mod_ptr->SetWorkspaceSizeList(kernel_json_info.workspaces); in GenKernelMod()
296 return kernel_mod_ptr; in GenKernelMod()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_build_ascend.cc47 kernel::KernelModPtr kernel_mod_ptr = nullptr; in SerialCompileImpl() local
51 kernel_mod_ptr = kernel::AicpuOpBuild(anf_node); in SerialCompileImpl()
55 kernel_mod_ptr = kernel::HostOpBuild(anf_node); in SerialCompileImpl()
59 kernel_mod_ptr = kernel::RtOpBuild(anf_node); in SerialCompileImpl()
63 kernel_mod_ptr = kernel::HcclOpBuild(anf_node); in SerialCompileImpl()
71 return kernel_mod_ptr; in SerialCompileImpl()
124 kernel::KernelModPtr kernel_mod_ptr = SerialCompileImpl(anf_node); in KernelBuildParallelCompile() local
125 MS_EXCEPTION_IF_NULL(kernel_mod_ptr); in KernelBuildParallelCompile()
126 AnfAlgo::SetKernelMod(kernel_mod_ptr, anf_node.get()); in KernelBuildParallelCompile()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ascend/
Dascend_ps_cache.cc92 const std::shared_ptr<kernel::AicpuOpKernelMod> &kernel_mod_ptr) { in SetNodedefProto() argument
94 MS_ERROR_IF_NULL(kernel_mod_ptr); in SetNodedefProto()
105 kernel_mod_ptr->SetNodeDef(nodeDefStr); in SetNodedefProto()