Home
last modified time | relevance | path

Searched refs:output_type (Results 1 – 25 of 230) sorted by relevance

12345678910

/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dscan_on_cpu.hpp40 std::iterator_traits<OutputIterator>::value_type output_type; in scan_on_cpu() typedef
67 buffer block_partial_sums(context, sizeof(output_type) * compute_units ); in scan_on_cpu()
74 size_t init_arg = k.add_arg<output_type>("initial_value"); in scan_on_cpu()
76 k.add_arg<output_type *>(memory_object::global_memory, "block_partial_sums"); in scan_on_cpu()
86 k.decl<output_type>("sum") << " = " << in scan_on_cpu()
93 k.decl<output_type>("sum") << ";\n" << in scan_on_cpu()
116 "sum = " << op(k.var<output_type>("sum"), in scan_on_cpu()
117 k.var<output_type>("value")) << ";\n"; in scan_on_cpu()
136 block_scan_kernel.set_arg(init_arg, static_cast<output_type>(init)); in scan_on_cpu()
154 l.add_arg<output_type *>(memory_object::global_memory, "block_partial_sums"); in scan_on_cpu()
[all …]
Dserial_scan.hpp42 std::iterator_traits<OutputIterator>::value_type output_type; in serial_scan() typedef
51 size_t init_arg = k.add_arg<output_type>("initial_value"); in serial_scan()
56 k.decl<output_type>("sum") << " = " << first[0] << ";\n" << in serial_scan()
62 k.decl<output_type>("sum") << " = initial_value;\n"; in serial_scan()
75 << op(k.var<output_type>("sum"), k.var<output_type>("x")) in serial_scan()
90 scan_kernel.set_arg<output_type>(init_arg, static_cast<output_type>(init)); in serial_scan()
/third_party/boost/boost/compute/algorithm/detail/
Dscan_on_cpu.hpp40 std::iterator_traits<OutputIterator>::value_type output_type; in scan_on_cpu() typedef
67 buffer block_partial_sums(context, sizeof(output_type) * compute_units ); in scan_on_cpu()
74 size_t init_arg = k.add_arg<output_type>("initial_value"); in scan_on_cpu()
76 k.add_arg<output_type *>(memory_object::global_memory, "block_partial_sums"); in scan_on_cpu()
86 k.decl<output_type>("sum") << " = " << in scan_on_cpu()
93 k.decl<output_type>("sum") << ";\n" << in scan_on_cpu()
116 "sum = " << op(k.var<output_type>("sum"), in scan_on_cpu()
117 k.var<output_type>("value")) << ";\n"; in scan_on_cpu()
136 block_scan_kernel.set_arg(init_arg, static_cast<output_type>(init)); in scan_on_cpu()
154 l.add_arg<output_type *>(memory_object::global_memory, "block_partial_sums"); in scan_on_cpu()
[all …]
Dserial_scan.hpp42 std::iterator_traits<OutputIterator>::value_type output_type; in serial_scan() typedef
51 size_t init_arg = k.add_arg<output_type>("initial_value"); in serial_scan()
56 k.decl<output_type>("sum") << " = " << first[0] << ";\n" << in serial_scan()
62 k.decl<output_type>("sum") << " = initial_value;\n"; in serial_scan()
75 << op(k.var<output_type>("sum"), k.var<output_type>("x")) in serial_scan()
90 scan_kernel.set_arg<output_type>(init_arg, static_cast<output_type>(init)); in serial_scan()
/third_party/gn/src/gn/
Drust_values_generator.cc34 if (target_->output_type() == Target::SOURCE_SET) in Run()
38 if (target_->output_type() != Target::EXECUTABLE && in Run()
39 target_->output_type() != Target::SHARED_LIBRARY && in Run()
40 target_->output_type() != Target::RUST_LIBRARY && in Run()
41 target_->output_type() != Target::RUST_PROC_MACRO && in Run()
42 target_->output_type() != Target::STATIC_LIBRARY && in Run()
43 target_->output_type() != Target::LOADABLE_MODULE) { in Run()
48 target_->output_type())) + in Run()
87 if (target_->output_type() == Target::SHARED_LIBRARY || in FillCrateType()
88 target_->output_type() == Target::LOADABLE_MODULE) { in FillCrateType()
[all …]
Druntime_deps.cc79 if (target->output_type() == Target::EXECUTABLE || in RecursiveCollectRuntimeDeps()
80 target->output_type() == Target::LOADABLE_MODULE || in RecursiveCollectRuntimeDeps()
81 target->output_type() == Target::SHARED_LIBRARY) { in RecursiveCollectRuntimeDeps()
91 if (is_target_data_dep && (target->output_type() == Target::ACTION || in RecursiveCollectRuntimeDeps()
92 target->output_type() == Target::ACTION_FOREACH || in RecursiveCollectRuntimeDeps()
93 target->output_type() == Target::COPY_FILES)) { in RecursiveCollectRuntimeDeps()
108 if (target->output_type() == Target::CREATE_BUNDLE) { in RecursiveCollectRuntimeDeps()
117 if (dep_pair.ptr->output_type() == Target::EXECUTABLE) in RecursiveCollectRuntimeDeps()
119 if (dep_pair.ptr->output_type() == Target::SHARED_LIBRARY && in RecursiveCollectRuntimeDeps()
120 (target->output_type() == Target::ACTION || in RecursiveCollectRuntimeDeps()
[all …]
Dtarget_generator.cc78 const std::string& output_type, in GenerateTarget() argument
101 if (output_type == functions::kBundleData) { in GenerateTarget()
105 } else if (output_type == functions::kCreateBundle) { in GenerateTarget()
109 } else if (output_type == functions::kCopy) { in GenerateTarget()
112 } else if (output_type == functions::kAction) { in GenerateTarget()
116 } else if (output_type == functions::kActionForEach) { in GenerateTarget()
120 } else if (output_type == functions::kExecutable) { in GenerateTarget()
124 } else if (output_type == functions::kGroup) { in GenerateTarget()
127 } else if (output_type == functions::kLoadableModule) { in GenerateTarget()
131 } else if (output_type == functions::kSharedLibrary) { in GenerateTarget()
[all …]
Dresolved_target_data.cc150 if (!dep->IsFinal() || dep->output_type() == Target::STATIC_LIBRARY) { in ComputeLibInfo()
182 if (!dep->IsFinal() || dep->output_type() == Target::STATIC_LIBRARY) { in ComputeFrameworkInfo()
256 if (dep->output_type() == Target::STATIC_LIBRARY || in ComputeInheritedLibsFor()
257 dep->output_type() == Target::SHARED_LIBRARY || in ComputeInheritedLibsFor()
258 dep->output_type() == Target::RUST_LIBRARY || in ComputeInheritedLibsFor()
259 dep->output_type() == Target::SOURCE_SET || in ComputeInheritedLibsFor()
260 (dep->output_type() == Target::CREATE_BUNDLE && in ComputeInheritedLibsFor()
264 if (dep->output_type() == Target::SHARED_LIBRARY) { in ComputeInheritedLibsFor()
287 if (pair.target()->output_type() == Target::SHARED_LIBRARY && in ComputeInheritedLibsFor()
300 if (pair.target()->output_type() != Target::RUST_PROC_MACRO) in ComputeInheritedLibsFor()
[all …]
Dtarget.cc130 if (target->output_type() == Target::CREATE_BUNDLE) { in EnsureFileIsGeneratedByDependency()
181 if (pair.ptr->output_type() == Target::EXECUTABLE) in RecursiveCheckAssertNoDeps()
635 if (output_type() == Target::ACTION || output_type() == Target::COPY_FILES || in GetOutputsAsSourceFiles()
636 output_type() == Target::ACTION_FOREACH || in GetOutputsAsSourceFiles()
637 output_type() == Target::GENERATED_FILE) { in GetOutputsAsSourceFiles()
639 } else if (output_type() == Target::CREATE_BUNDLE) { in GetOutputsAsSourceFiles()
642 } else if (IsBinary() && output_type() != Target::SOURCE_SET) { in GetOutputsAsSourceFiles()
645 DCHECK(IsBinary()) << static_cast<int>(output_type()); in GetOutputsAsSourceFiles()
685 if (output_type() == Target::COPY_FILES || in GetOutputFilesForSource()
686 output_type() == Target::ACTION_FOREACH) { in GetOutputFilesForSource()
[all …]
Daction_values.cc18 if (target->output_type() == Target::BUNDLE_DATA) { in GetOutputsAsSourceFiles()
21 } else if (target->output_type() == Target::COPY_FILES || in GetOutputsAsSourceFiles()
22 target->output_type() == Target::ACTION_FOREACH) { in GetOutputsAsSourceFiles()
/third_party/boost/boost/compute/algorithm/
Dinclusive_scan.hpp64 std::iterator_traits<OutputIterator>::value_type output_type; in inclusive_scan() typedef
67 output_type(0), binary_op, in inclusive_scan()
82 std::iterator_traits<OutputIterator>::value_type output_type; in inclusive_scan() typedef
85 output_type(0), boost::compute::plus<output_type>(), in inclusive_scan()
Dexclusive_scan.hpp81 std::iterator_traits<OutputIterator>::value_type output_type; in exclusive_scan() typedef
84 init, boost::compute::plus<output_type>(), in exclusive_scan()
99 std::iterator_traits<OutputIterator>::value_type output_type; in exclusive_scan() typedef
102 output_type(0), boost::compute::plus<output_type>(), in exclusive_scan()
Dcopy.hpp222 typedef typename OutputIterator::value_type output_type; in dispatch_copy() typedef
230 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy()
270 std::vector<output_type> vector(first, last); in dispatch_copy()
308 typedef typename OutputIterator::value_type output_type; in dispatch_copy() typedef
316 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy()
359 std::vector<output_type> vector(first, last); in dispatch_copy()
415 typedef typename std::iterator_traits<OutputIterator>::value_type output_type; in dispatch_copy_async() typedef
426 count * sizeof(output_type), in dispatch_copy_async()
433 ::boost::compute::future<buffer_iterator<output_type> > future = in dispatch_copy_async()
437 make_buffer_iterator<output_type>(mapped_host), in dispatch_copy_async()
[all …]
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dinclusive_scan.hpp64 std::iterator_traits<OutputIterator>::value_type output_type; in inclusive_scan() typedef
67 output_type(0), binary_op, in inclusive_scan()
82 std::iterator_traits<OutputIterator>::value_type output_type; in inclusive_scan() typedef
85 output_type(0), boost::compute::plus<output_type>(), in inclusive_scan()
Dexclusive_scan.hpp81 std::iterator_traits<OutputIterator>::value_type output_type; in exclusive_scan() typedef
84 init, boost::compute::plus<output_type>(), in exclusive_scan()
99 std::iterator_traits<OutputIterator>::value_type output_type; in exclusive_scan() typedef
102 output_type(0), boost::compute::plus<output_type>(), in exclusive_scan()
Dcopy.hpp222 typedef typename OutputIterator::value_type output_type; in dispatch_copy() typedef
230 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy()
270 std::vector<output_type> vector(first, last); in dispatch_copy()
308 typedef typename OutputIterator::value_type output_type; in dispatch_copy() typedef
316 + type_name<input_type>() + "_" + type_name<output_type>(); in dispatch_copy()
359 std::vector<output_type> vector(first, last); in dispatch_copy()
415 typedef typename std::iterator_traits<OutputIterator>::value_type output_type; in dispatch_copy_async() typedef
426 count * sizeof(output_type), in dispatch_copy_async()
433 ::boost::compute::future<buffer_iterator<output_type> > future = in dispatch_copy_async()
437 make_buffer_iterator<output_type>(mapped_host), in dispatch_copy_async()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/
Dview_convert.frag33 int output_type;
48 if (output_type == VIEW_MONO_DOWNMIX) {
58 } else if (output_type == VIEW_MONO_LEFT) {
60 } else if (output_type == VIEW_MONO_RIGHT) {
62 } else if (output_type == VIEW_SIDE_BY_SIDE) {
68 } else if (output_type == VIEW_TOP_BOTTOM) {
74 } else if (output_type == VIEW_COLUMN_INTERLEAVED) {
80 } else if (output_type == VIEW_ROW_INTERLEAVED) {
86 } else if (output_type == VIEW_CHECKERBOARD) {
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMethodDescriptorProto.php34 protected $output_type = null; variable in Google\\Protobuf\\Internal\\MethodDescriptorProto
151 return isset($this->output_type) ? $this->output_type : '';
156 return isset($this->output_type);
161 unset($this->output_type);
172 $this->output_type = $var;
/third_party/weston/protocol/
Dmeson.build55 foreach output_type: [ 'client-header', 'server-header', 'private-code' ]
56 if output_type == 'client-header' variable
58 elif output_type == 'server-header' variable
63 output_type = 'code' variable
69 '@0@ @1@'.format(base_file, output_type),
70 command: [ prog_scanner, output_type, '@INPUT@', '@OUTPUT@' ],
/third_party/mesa3d/src/intel/tools/
Di965_asm.c37 static enum opt_output_type output_type = OPT_OUTPUT_BIN; variable
77 switch (output_type) { in print_instruction()
99 if (output_type != OPT_OUTPUT_BIN) { in print_instruction()
251 output_type = OPT_OUTPUT_HEX; in main()
253 output_type = OPT_OUTPUT_C_LITERAL; in main()
255 output_type = OPT_OUTPUT_BIN; in main()
331 if (output_type == OPT_OUTPUT_C_LITERAL) in main()
358 if (output_type == OPT_OUTPUT_C_LITERAL) in main()
/third_party/json/benchmarks/thirdparty/benchmark/tools/
Dcompare_bench.py20 output_type = find_benchmark_flag('--benchmark_out_format=', flags)
27 if output_type is not None and output_type != 'json':
29 " is not supported.") % output_type)
/third_party/boost/libs/units/example/
Druntime_unit.cpp42 std::string output_type("meter"); in main() local
68 output_type = input; in main()
94 known_units[output_type]) in main()
95 << ' ' << output_type << std::endl; in main()
/third_party/grpc/src/compiler/
Dcsharp_generator.cc246 return "grpc::AsyncUnaryCall<" + GetClassName(method->output_type()) + in GetMethodReturnTypeClient()
251 GetClassName(method->output_type()) + ">"; in GetMethodReturnTypeClient()
254 GetClassName(method->output_type()) + ">"; in GetMethodReturnTypeClient()
258 GetClassName(method->output_type()) + ">"; in GetMethodReturnTypeClient()
283 GetClassName(method->output_type()) + ">"; in GetMethodReturnTypeServer()
300 GetClassName(method->output_type()) + "> responseStream"; in GetMethodResponseStreamMaybe()
318 if (descriptor_set.find(method->output_type()) == descriptor_set.end()) { in GetUsedMessages()
319 descriptor_set.insert(method->output_type()); in GetUsedMessages()
320 result.push_back(method->output_type()); in GetUsedMessages()
410 GetClassName(method->output_type())); in GenerateStaticMethodField()
[all …]
/third_party/mindspore/mindspore/core/ops/
Darg_min.cc22 void ArgMin::Init(const int64_t axis, const TypeId output_type) { in Init() argument
24 set_output_type(output_type); in Init()
28 …id ArgMin::set_output_type(const TypeId output_type) { (void)this->AddAttr(kOutputType, TypeIdToTy… in set_output_type() argument
/third_party/python/Lib/
Dtempfile.py116 output_type = _infer_return_type(prefix, suffix, dir)
118 suffix = output_type()
120 if output_type is str:
125 if output_type is str:
129 return prefix, suffix, dir, output_type
244 def _mkstemp_inner(dir, pre, suf, flags, output_type): argument
248 if output_type is bytes:
334 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
341 return _mkstemp_inner(dir, prefix, suffix, flags, output_type)
357 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
[all …]

12345678910