Home
last modified time | relevance | path

Searched refs:GetInputDeviceType (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.cc92 if (kernel_info->GetInputDeviceType(input_index) == kNumberTypeInt64 && in ReducePrecision()
115 …if (check_sm && major_sm < RECOMMEND_SM && kernel_info->GetInputDeviceType(input_index) == kNumber… in CheckSM()
149 if (kernel_info->GetInputDeviceType(input_index) != in GpuKernelAttrCheck()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Dmerge_cast_to_op.cc40 if (candidate_kernel_info->GetInputDeviceType(i) != dst_type || in AlternativeKernelInfoForInput()
44 …} else if (candidate_kernel_info->GetInputDeviceType(i) != AnfAlgo::GetInputDeviceDataType(node, i… in AlternativeKernelInfoForInput()
81 AnfAlgo::GetInputDeviceDataType(node, index) != kernel_info->GetInputDeviceType(index)) { in CheckInputs()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dkernel_build_info.h57 TypeId GetInputDeviceType(size_t input_index) const;
135 …kernel_build_info_->inputs_device_type_.emplace_back(kernel_build_info->GetInputDeviceType(index)); in KernelBuildInfoBuilder()
Dkernel_build_info.cc38 TypeId KernelBuildInfo::GetInputDeviceType(size_t input_index) const { in GetInputDeviceType() function in mindspore::kernel::KernelBuildInfo
108 …output_buffer << "<" << ToShortString(GetInputDeviceType(index)) << "x" << GetInputFormat(index) <… in ToString()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.cc148 if (kernel_info.GetInputDeviceType(i) != dtype) { in CPUKernelSingleAttrCheck()
149 … MS_LOG(DEBUG) << "input index:" << i << ", kernel info type:" << kernel_info.GetInputDeviceType(i) in CPUKernelSingleAttrCheck()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_select_ascend.cc63 if (kernel_build_info.GetInputDeviceType(input_index) != input_origin_type) { in MatchInferOutputDataType()
161 if (kernel_build_info.GetInputDeviceType(input_index) == prev_device_type) { in UpdateCurMatchCounts()
262 auto device_dtype = kernel_build_info->GetInputDeviceType(input_index); in TagRaiseReduce()
389 std::vector<TypeId> output_type = {selected_kernel_info->GetInputDeviceType(input_index)}; in SetWeightFormat()
Dkernel_select_graph_kernel.cc92 if (kernel_info_list[index]->GetInputDeviceType(0) == fix_precision_type && in UpdateKernelInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dsubstitute_dropout.cc77 …dropout_kernel_info_builder->SetInputsDeviceType({old_kernel_info->GetInputDeviceType(0), kNumberT… in PreProcess()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dkernel_info_setter.cc52 …if (selected_kernel_info->GetInputDeviceType(i) != alternative_kernel_info->GetInputDeviceType(i))… in CheckKernelInfo()
178 output_type = {selected_kernel_info.GetInputDeviceType(input_index)}; in SetTensorDeviceInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dlayer_norm_beta_gamma_backprop_fusion.cc59 if (kernel_info->GetInputDeviceType(i) != kNumberTypeFloat16 || in CheckKernelBuildInfo()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dcpu_session.cc341 operator_info << TypeIdLabel(kernel_build_Info->GetInputDeviceType(i)); in KernelNotSupportException()
Danf_runtime_algorithm.cc1014 auto dtype = build_info->GetInputDeviceType(input_idx); in GetInputDeviceDataType()