/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_conversion.cpp | 42 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 43 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 44 !_.IsFloatVectorType(input_type) && in ConversionPass() 45 !_.IsFloatCooperativeMatrixType(input_type))) in ConversionPass() 51 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 53 _.CooperativeMatrixShapesMatch(inst, result_type, input_type); in ConversionPass() 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 72 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 73 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 74 !_.IsFloatVectorType(input_type) && in ConversionPass() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_conversion.cpp | 42 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 43 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 44 !_.IsFloatVectorType(input_type) && in ConversionPass() 45 !_.IsFloatCooperativeMatrixType(input_type))) in ConversionPass() 51 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 53 _.CooperativeMatrixShapesMatch(inst, result_type, input_type); in ConversionPass() 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 72 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 73 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 74 !_.IsFloatVectorType(input_type) && in ConversionPass() [all …]
|
/third_party/spirv-tools/source/val/ |
D | validate_conversion.cpp | 42 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 43 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 44 !_.IsFloatVectorType(input_type) && in ConversionPass() 45 !_.IsFloatCooperativeMatrixType(input_type))) in ConversionPass() 51 _.IsCooperativeMatrixType(input_type)) { in ConversionPass() 53 _.CooperativeMatrixShapesMatch(inst, result_type, input_type); in ConversionPass() 56 if (_.GetDimension(result_type) != _.GetDimension(input_type)) in ConversionPass() 72 const uint32_t input_type = _.GetOperandTypeId(inst, 2); in ConversionPass() local 73 if (!input_type || (!_.IsFloatScalarType(input_type) && in ConversionPass() 74 !_.IsFloatVectorType(input_type) && in ConversionPass() [all …]
|
/third_party/boost/boost/compute/algorithm/detail/ |
D | find_extrema_with_reduce.hpp | 37 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_with_reduce_requirements_met() typedef 53 + type_name<input_type>(); in find_extrema_with_reduce_requirements_met() 68 required_local_mem_size += sizeof(input_type) * work_group_size; in find_extrema_with_reduce_requirements_met() 94 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_with_reduce() typedef 100 size_t block_arg = k.add_arg<input_type *>(memory_object::local_memory, "block"); in find_extrema_with_reduce() 110 k.decl<input_type>("acc") << ";\n" << in find_extrema_with_reduce() 129 k.decl<input_type>("next") << " = " << input[k.var<uint_>("idx")] << ";\n" << in find_extrema_with_reduce() 136 "compare_result = " << compare(k.var<input_type>("next"), in find_extrema_with_reduce() 137 k.var<input_type>("acc")) << ";\n" << in find_extrema_with_reduce() 140 compare(k.var<input_type>("acc"), in find_extrema_with_reduce() [all …]
|
D | find_extrema_on_cpu.hpp | 33 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_on_cpu() typedef 44 + boost::lexical_cast<std::string>(sizeof(input_type)); in find_extrema_on_cpu() 51 16384 * sizeof(input_type) in find_extrema_on_cpu() 62 buffer output(context, sizeof(input_type) * compute_units); in find_extrema_on_cpu() 70 k.add_arg<input_type *>(memory_object::global_memory, "output"); in find_extrema_on_cpu() 81 k.decl<input_type>("value") << " = " << first[k.var<uint_>("index")] << ";\n" << in find_extrema_on_cpu() 85 k.decl<input_type>("candidate") << in find_extrema_on_cpu() 88 "bool compare = " << compare(k.var<input_type>("candidate"), in find_extrema_on_cpu() 89 k.var<input_type>("value")) << ";\n" << in find_extrema_on_cpu() 91 "bool compare = " << compare(k.var<input_type>("value"), in find_extrema_on_cpu() [all …]
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/ |
D | find_extrema_with_reduce.hpp | 37 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_with_reduce_requirements_met() typedef 53 + type_name<input_type>(); in find_extrema_with_reduce_requirements_met() 68 required_local_mem_size += sizeof(input_type) * work_group_size; in find_extrema_with_reduce_requirements_met() 94 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_with_reduce() typedef 100 size_t block_arg = k.add_arg<input_type *>(memory_object::local_memory, "block"); in find_extrema_with_reduce() 110 k.decl<input_type>("acc") << ";\n" << in find_extrema_with_reduce() 129 k.decl<input_type>("next") << " = " << input[k.var<uint_>("idx")] << ";\n" << in find_extrema_with_reduce() 136 "compare_result = " << compare(k.var<input_type>("next"), in find_extrema_with_reduce() 137 k.var<input_type>("acc")) << ";\n" << in find_extrema_with_reduce() 140 compare(k.var<input_type>("acc"), in find_extrema_with_reduce() [all …]
|
D | find_extrema_on_cpu.hpp | 33 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in find_extrema_on_cpu() typedef 44 + boost::lexical_cast<std::string>(sizeof(input_type)); in find_extrema_on_cpu() 51 16384 * sizeof(input_type) in find_extrema_on_cpu() 62 buffer output(context, sizeof(input_type) * compute_units); in find_extrema_on_cpu() 70 k.add_arg<input_type *>(memory_object::global_memory, "output"); in find_extrema_on_cpu() 81 k.decl<input_type>("value") << " = " << first[k.var<uint_>("index")] << ";\n" << in find_extrema_on_cpu() 85 k.decl<input_type>("candidate") << in find_extrema_on_cpu() 88 "bool compare = " << compare(k.var<input_type>("candidate"), in find_extrema_on_cpu() 89 k.var<input_type>("value")) << ";\n" << in find_extrema_on_cpu() 91 "bool compare = " << compare(k.var<input_type>("value"), in find_extrema_on_cpu() [all …]
|
D | scan_on_gpu.hpp | 198 input_type; in scan_impl() typedef 216 ::boost::compute::vector<input_type> block_sums(block_count, context); in scan_impl() 219 input_type zero; in scan_impl() 220 std::memset(&zero, 0, sizeof(input_type)); in scan_impl() 228 kernel.set_arg(local_scan_kernel.m_scratch_arg, local_buffer<input_type>(block_size)); in scan_impl() 253 write_scanned_output_kernel<input_type, BinaryOperator> in scan_impl()
|
/third_party/mindspore/tests/st/ops/ascend/test_tensor_print/ |
D | tensor_print_utils.py | 34 def get_tensor(is_scalar, input_type): argument 36 if input_type == mindspore.bool_: 37 return Tensor(True, dtype=input_type) 38 if input_type in [mindspore.uint8, mindspore.uint16, mindspore.uint32, mindspore.uint64]: 39 return Tensor(1, dtype=input_type) 40 if input_type in [mindspore.int8, mindspore.int16, mindspore.int32, mindspore.int64]: 41 return Tensor(-1, dtype=input_type) 42 if input_type in [mindspore.float16, mindspore.float32, mindspore.float64]: 43 return Tensor(0.01, dtype=input_type) 45 if input_type == mindspore.bool_: [all …]
|
/third_party/boost/boost/compute/algorithm/ |
D | reduce.hpp | 47 input_type; in reduce() typedef 49 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in reduce() 60 size_t block_arg = k.add_arg<input_type *>(memory_object::local_memory, "block"); in reduce() 77 function(k.expr<input_type>("block[lid]"), in reduce() 78 k.expr<input_type>("block[lid+i]")) << ";\n" << in reduce() 88 kernel.set_arg(block_arg, local_buffer<input_type>(block_size)); in reduce() 144 input_type; in block_reduce() typedef 146 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in block_reduce() 169 input_type; in generic_reduce() typedef 171 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in generic_reduce()
|
D | copy.hpp | 151 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy_async() typedef 162 ::boost::compute::mapped_view<input_type> mapped_host( in dispatch_copy_async() 165 const_cast<const input_type*>( in dispatch_copy_async() 223 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy() typedef 230 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy() 261 size_t input_size_bytes = count * sizeof(input_type); in dispatch_copy() 309 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy() typedef 316 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy() 347 size_t input_size_bytes = input_size * sizeof(input_type); in dispatch_copy() 509 typedef typename InputIterator::value_type input_type; in dispatch_copy() typedef [all …]
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/ |
D | reduce.hpp | 47 input_type; in reduce() typedef 49 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in reduce() 60 size_t block_arg = k.add_arg<input_type *>(memory_object::local_memory, "block"); in reduce() 77 function(k.expr<input_type>("block[lid]"), in reduce() 78 k.expr<input_type>("block[lid+i]")) << ";\n" << in reduce() 88 kernel.set_arg(block_arg, local_buffer<input_type>(block_size)); in reduce() 144 input_type; in block_reduce() typedef 146 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in block_reduce() 169 input_type; in generic_reduce() typedef 171 boost::compute::result_of<BinaryFunction(input_type, input_type)>::type in generic_reduce()
|
D | copy.hpp | 151 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy_async() typedef 162 ::boost::compute::mapped_view<input_type> mapped_host( in dispatch_copy_async() 165 const_cast<const input_type*>( in dispatch_copy_async() 223 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy() typedef 230 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy() 261 size_t input_size_bytes = count * sizeof(input_type); in dispatch_copy() 309 typedef typename std::iterator_traits<InputIterator>::value_type input_type; in dispatch_copy() typedef 316 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy() 347 size_t input_size_bytes = input_size * sizeof(input_type); in dispatch_copy() 509 typedef typename InputIterator::value_type input_type; in dispatch_copy() typedef [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | rgb_to_bgr_op.cc | 27 auto input_type = input->type(); in Compute() local 28 …CHECK_FAIL_RETURN_UNEXPECTED(input_type != DataType::DE_UINT32 && input_type != DataType::DE_UINT6… in Compute() 29 … input_type != DataType::DE_INT64 && input_type != DataType::DE_STRING, in Compute()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 78 using input_type = UIntType; member 81 static result_type multiply(input_type a, input_type b) { in multiply() 85 static input_type hi(result_type r) { return r >> kN; } in hi() 86 static input_type lo(result_type r) { return r; } in lo() 95 using input_type = uint64_t;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | wide_multiply.h | 78 using input_type = UIntType; member 81 static result_type multiply(input_type a, input_type b) { in multiply() 85 static input_type hi(result_type r) { return r >> kN; } in hi() 86 static input_type lo(result_type r) { return r; } in lo() 95 using input_type = uint64_t;
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | MethodDescriptorProto.php | 30 protected $input_type = null; variable in Google\\Protobuf\\Internal\\MethodDescriptorProto 116 return isset($this->input_type) ? $this->input_type : ''; 121 return isset($this->input_type); 126 unset($this->input_type); 140 $this->input_type = $var;
|
/third_party/ffmpeg/libavformat/ |
D | ttmlenc.c | 41 enum TTMLPacketType input_type; member 96 ttml_ctx->input_type = (st->codecpar->extradata && in ttml_write_header() 106 if (ttml_ctx->input_type == PACKET_TYPE_PARAGRAPH) in ttml_write_header() 118 switch (ttml_ctx->input_type) { in ttml_write_packet() 144 ttml_ctx->input_type); in ttml_write_packet() 156 if (ttml_ctx->input_type == PACKET_TYPE_PARAGRAPH) in ttml_write_trailer()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_constant_expressions.py | 15 for input_type in op.input_types: 16 if not type_has_size(input_type): 18 sizes = set(type_sizes(input_type)) 20 sizes = sizes.intersection(set(type_sizes(input_type)))
|
/third_party/grpc/src/compiler/ |
D | node_generator.cc | 101 const Descriptor* input_type = method->input_type(); in GetAllMessages() local 103 message_types[input_type->full_name()] = input_type; in GetAllMessages() 159 const Descriptor* input_type = method->input_type(); in PrintMethod() local 164 vars["input_type"] = NodeObjectPath(input_type); in PrintMethod() 165 vars["input_type_id"] = MessageIdentifierName(input_type->full_name()); in PrintMethod()
|
D | csharp_generator.cc | 236 return GetClassName(method->input_type()) + " request, "; in GetMethodRequestParamMaybe() 250 GetClassName(method->input_type()) + ", " + in GetMethodReturnTypeClient() 257 GetClassName(method->input_type()) + ", " + in GetMethodReturnTypeClient() 268 return GetClassName(method->input_type()) + " request"; in GetMethodRequestParamServer() 271 return "grpc::IAsyncStreamReader<" + GetClassName(method->input_type()) + in GetMethodRequestParamServer() 314 if (descriptor_set.find(method->input_type()) == descriptor_set.end()) { in GetUsedMessages() 315 descriptor_set.insert(method->input_type()); in GetUsedMessages() 316 result.push_back(method->input_type()); in GetUsedMessages() 409 GetClassName(method->input_type()), "response", in GenerateStaticMethodField() 419 GetMarshallerFieldName(method->input_type())); in GenerateStaticMethodField() [all …]
|
D | ruby_generator.cc | 42 std::string input_type = RubyTypeOf(method->input_type()); in PrintMethod() local 44 input_type = "stream(" + input_type + ")"; in PrintMethod() 54 input_type, in PrintMethod()
|
/third_party/mesa3d/src/intel/tools/ |
D | i965_disasm.c | 38 static enum opt_input_type input_type = OPT_INPUT_BINARY; variable 193 input_type = OPT_INPUT_C_LITERAL; in main() 195 input_type = OPT_INPUT_BINARY; in main() 231 if (input_type == OPT_INPUT_BINARY) in main() 233 else if (input_type == OPT_INPUT_C_LITERAL) in main()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/ |
D | label_switch.cc | 78 std::vector<TypeId> input_type{kNumberTypeInt32}; in GetKernelInfo() local 79 if (input_format.size() != input_type.size()) { in GetKernelInfo() 81 << input_type.size(); in GetKernelInfo() 86 builder.SetInputsDeviceType({input_type[i]}); in GetKernelInfo()
|
/third_party/mindspore/mindspore/lite/tools/converter/config_parser/ |
D | preprocess_parser.cc | 34 …ocessParser::ParseInputType(const std::string &input_type_str, preprocess::InputType *input_type) { in ParseInputType() argument 36 (*input_type) = preprocess::IMAGE; in ParseInputType() 38 (*input_type) = preprocess::BIN; in ParseInputType() 40 (*input_type) = preprocess::INPUT_TYPE_MAX; in ParseInputType() 69 if (!data_pre_process_str.input_type.empty()) { in ParsePreprocess() 70 ret = ParseInputType(data_pre_process_str.input_type, &data_pre_process->input_type); in ParsePreprocess()
|