Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 25 of 957) sorted by relevance

12345678910>>...39

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dlog.h37 #define SPIRV_ASSERT(consumer, ...) SPIRV_ASSERT_IMPL(consumer, __VA_ARGS__) argument
39 #define SPIRV_ASSERT(consumer, ...) argument
50 #define SPIRV_DEBUG(consumer, ...) SPIRV_DEBUG_IMPL(consumer, __VA_ARGS__) argument
52 #define SPIRV_DEBUG(consumer, ...) argument
57 #define SPIRV_UNIMPLEMENTED(consumer, feature) \ argument
59 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
66 #define SPIRV_UNREACHABLE(consumer) \ argument
68 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
83 inline void Log(const MessageConsumer& consumer, spv_message_level_t level, in Log() argument
86 if (consumer != nullptr) consumer(level, source, position, message); in Log()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dlog.h37 #define SPIRV_ASSERT(consumer, ...) SPIRV_ASSERT_IMPL(consumer, __VA_ARGS__) argument
39 #define SPIRV_ASSERT(consumer, ...) argument
50 #define SPIRV_DEBUG(consumer, ...) SPIRV_DEBUG_IMPL(consumer, __VA_ARGS__) argument
52 #define SPIRV_DEBUG(consumer, ...) argument
57 #define SPIRV_UNIMPLEMENTED(consumer, feature) \ argument
59 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
66 #define SPIRV_UNREACHABLE(consumer) \ argument
68 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
83 inline void Log(const MessageConsumer& consumer, spv_message_level_t level, in Log() argument
86 if (consumer != nullptr) consumer(level, source, position, message); in Log()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dlog.h37 #define SPIRV_ASSERT(consumer, ...) SPIRV_ASSERT_IMPL(consumer, __VA_ARGS__) argument
39 #define SPIRV_ASSERT(consumer, ...) argument
50 #define SPIRV_DEBUG(consumer, ...) SPIRV_DEBUG_IMPL(consumer, __VA_ARGS__) argument
52 #define SPIRV_DEBUG(consumer, ...) argument
57 #define SPIRV_UNIMPLEMENTED(consumer, feature) \ argument
59 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
66 #define SPIRV_UNREACHABLE(consumer) \ argument
68 spvtools::Log(consumer, SPV_MSG_INTERNAL_ERROR, __FILE__, \
83 inline void Log(const MessageConsumer& consumer, spv_message_level_t level, in Log() argument
86 if (consumer != nullptr) consumer(level, source, position, message); in Log()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc58 const HloInstruction* consumer) { in CanBeOutputFused() argument
59 return consumer->opcode() == HloOpcode::kAdd && in CanBeOutputFused()
64 bool CanBeOutputFusedIntoSomeOperand(const HloInstruction* consumer) { in CanBeOutputFusedIntoSomeOperand() argument
65 return consumer->opcode() == HloOpcode::kAdd && in CanBeOutputFusedIntoSomeOperand()
66 (CanBeOutputFused(consumer->operand(0), consumer) || in CanBeOutputFusedIntoSomeOperand()
67 CanBeOutputFused(consumer->operand(1), consumer)); in CanBeOutputFusedIntoSomeOperand()
71 bool CpuInstructionFusion::ShouldFuse(HloInstruction* consumer, in ShouldFuse() argument
73 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuse()
75 << consumer->ToString(); in ShouldFuse()
79 if (CanBeOutputFused(producer, consumer)) { in ShouldFuse()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion.cc57 bool GpuInstructionFusion::ShouldFuseInexpensiveChecks(HloInstruction* consumer, in ShouldFuseInexpensiveChecks() argument
59 HloInstruction* producer = consumer->mutable_operand(operand_index); in ShouldFuseInexpensiveChecks()
69 ReusesOperandElements(consumer, operand_index)) { in ShouldFuseInexpensiveChecks()
75 if (!IsProducerConsumerFusible(*producer, *consumer) || in ShouldFuseInexpensiveChecks()
76 !InstructionFusion::ShouldFuse(consumer, operand_index)) { in ShouldFuseInexpensiveChecks()
84 bool GpuInstructionFusion::ShouldFuse(HloInstruction* consumer, in ShouldFuse() argument
86 if (!ShouldFuseInexpensiveChecks(consumer, operand_index)) { in ShouldFuse()
88 << " of " << consumer->ToString(); in ShouldFuse()
91 auto producer = consumer->operand(operand_index); in ShouldFuse()
94 if (FusionWouldBeTooLarge(*consumer, *producer, in ShouldFuse()
[all …]
Dgpu_fusible.cc242 const HloInstruction& consumer) { in IsProducerConsumerFusible() argument
248 if (!IsInputFusible(consumer) && !IsLoopFusible(consumer)) { in IsProducerConsumerFusible()
249 VLOG(5) << "Consumer " << consumer.name() in IsProducerConsumerFusible()
261 if (CreatesNestedLoop(producer, consumer)) { in IsProducerConsumerFusible()
262 VLOG(5) << "Fusing " << producer.name() << " into " << consumer.name() in IsProducerConsumerFusible()
269 if (IsInputFusibleReduction(consumer) && in IsProducerConsumerFusible()
270 !LayoutsAreReduceInputFusionFriendly(producer, consumer)) { in IsProducerConsumerFusible()
273 << consumer.name(); in IsProducerConsumerFusible()
287 consumer.opcode() != HloOpcode::kFusion)) { in IsProducerConsumerFusible()
289 << consumer.name(); in IsProducerConsumerFusible()
[all …]
/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc302 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F() local
303 consumer->Connect(svc.get()); in TEST_F()
315 consumer->EnableTracing(trace_config); in TEST_F()
323 consumer->StartTracing(); in TEST_F()
325 consumer->DisableTracing(); in TEST_F()
327 consumer->WaitForTracingDisabled(); in TEST_F()
333 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F() local
334 consumer->Connect(svc.get()); in TEST_F()
357 consumer->EnableTracing(trace_config); in TEST_F()
374 consumer->WaitForTracingDisabled(); in TEST_F()
[all …]
/external/rust/crates/rayon/src/iter/collect/
Dtest.rs23 Collect::new(&mut v, 2).with_consumer(|consumer| { in produce_too_many_items()
24 let mut folder = consumer.into_folder(); in produce_too_many_items()
39 collect.with_consumer(|consumer| { in produce_fewer_items()
40 let mut folder = consumer.into_folder(); in produce_fewer_items()
53 collect.with_consumer(|consumer| { in left_produces_items_with_no_complete()
54 let (left_consumer, right_consumer, _) = consumer.split_at(2); in left_produces_items_with_no_complete()
70 collect.with_consumer(|consumer| { in right_produces_items_with_no_complete()
71 let (left_consumer, right_consumer, _) = consumer.split_at(2); in right_produces_items_with_no_complete()
87 collect.with_consumer(|consumer| { in produces_items_with_no_complete()
88 let mut folder = consumer.into_folder(); in produces_items_with_no_complete()
[all …]
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.cc551 auto* consumer = muxer->FindConsumer(session_id); in StartBlocking() local
552 if (!consumer) { in StartBlocking()
557 PERFETTO_DCHECK(!consumer->blocking_start_complete_callback_); in StartBlocking()
558 consumer->blocking_start_complete_callback_ = [&] { in StartBlocking()
573 auto* consumer = muxer->FindConsumer(session_id); in Flush() local
574 if (!consumer) { in Flush()
598 auto* consumer = muxer->FindConsumer(session_id); in StopBlocking() local
599 if (!consumer) { in StopBlocking()
604 PERFETTO_DCHECK(!consumer->blocking_stop_complete_callback_); in StopBlocking()
605 consumer->blocking_stop_complete_callback_ = [&] { in StopBlocking()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/link/
Dlinker.cpp80 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer,
92 spv_result_t GenerateHeader(const MessageConsumer& consumer,
100 spv_result_t MergeModules(const MessageConsumer& consumer,
114 spv_result_t GetImportExportPairs(const MessageConsumer& consumer,
126 spv_result_t CheckImportExportCompatibility(const MessageConsumer& consumer,
141 const MessageConsumer& consumer, const LinkerOptions& options,
147 spv_result_t VerifyIds(const MessageConsumer& consumer,
150 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer, in ShiftIdsInModules() argument
156 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
159 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp80 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer,
92 spv_result_t GenerateHeader(const MessageConsumer& consumer,
100 spv_result_t MergeModules(const MessageConsumer& consumer,
114 spv_result_t GetImportExportPairs(const MessageConsumer& consumer,
126 spv_result_t CheckImportExportCompatibility(const MessageConsumer& consumer,
141 const MessageConsumer& consumer, const LinkerOptions& options,
147 spv_result_t VerifyIds(const MessageConsumer& consumer,
150 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer, in ShiftIdsInModules() argument
156 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
159 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
[all …]
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp80 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer,
92 spv_result_t GenerateHeader(const MessageConsumer& consumer,
100 spv_result_t MergeModules(const MessageConsumer& consumer,
114 spv_result_t GetImportExportPairs(const MessageConsumer& consumer,
126 spv_result_t CheckImportExportCompatibility(const MessageConsumer& consumer,
141 const MessageConsumer& consumer, const LinkerOptions& options,
147 spv_result_t VerifyIds(const MessageConsumer& consumer,
150 spv_result_t ShiftIdsInModules(const MessageConsumer& consumer, in ShiftIdsInModules() argument
156 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
159 return DiagnosticStream(position, consumer, "", SPV_ERROR_INVALID_DATA) in ShiftIdsInModules()
[all …]
/external/tensorflow/tensorflow/core/data/service/
Dtask_runner_test.cc117 for (int consumer = 0; consumer < num_consumers; ++consumer) { in TEST_P() local
121 {}, absl::StrCat("consumer_", consumer), [&, consumer] { in TEST_P()
123 Status s = RunConsumer(consumer, /*start_index=*/0, in TEST_P()
130 per_consumer_results[consumer] = std::move(results); in TEST_P()
138 int consumer = i % num_consumers; in TEST_P() local
140 EXPECT_EQ(per_consumer_results[consumer][round], i); in TEST_P()
170 for (int consumer = 0; consumer < num_consumers; ++consumer) { in TEST() local
174 {}, absl::StrCat("consumer_", consumer), [&, consumer] { in TEST()
176 Status s = RunConsumer(consumer, starting_rounds[consumer], end_index, in TEST()
183 per_consumer_results[consumer] = std::move(results); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp191 const auto consumer = nullptr; in TEST() local
195 BuildModule(env, consumer, recipient_shader, kFuzzAssembleOption); in TEST()
200 BuildModule(env, consumer, donor_shader, kFuzzAssembleOption); in TEST()
272 const auto consumer = nullptr; in TEST() local
276 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
281 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
403 const auto consumer = nullptr; in TEST() local
407 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
412 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
498 const auto consumer = nullptr; in TEST() local
[all …]
Dtransformation_outline_function_test.cpp46 const auto consumer = nullptr; in TEST() local
47 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
110 const auto consumer = nullptr; in TEST() local
111 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
165 const auto consumer = nullptr; in TEST() local
166 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
253 const auto consumer = nullptr; in TEST() local
254 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
330 const auto consumer = nullptr; in TEST() local
331 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp191 const auto consumer = nullptr; in TEST() local
195 BuildModule(env, consumer, recipient_shader, kFuzzAssembleOption); in TEST()
200 BuildModule(env, consumer, donor_shader, kFuzzAssembleOption); in TEST()
272 const auto consumer = nullptr; in TEST() local
276 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
281 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
403 const auto consumer = nullptr; in TEST() local
407 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
412 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
498 const auto consumer = nullptr; in TEST() local
[all …]
Dtransformation_outline_function_test.cpp46 const auto consumer = nullptr; in TEST() local
47 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
110 const auto consumer = nullptr; in TEST() local
111 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
165 const auto consumer = nullptr; in TEST() local
166 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
253 const auto consumer = nullptr; in TEST() local
254 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
330 const auto consumer = nullptr; in TEST() local
331 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dfuzzer_pass_donate_modules_test.cpp191 const auto consumer = nullptr; in TEST() local
195 BuildModule(env, consumer, recipient_shader, kFuzzAssembleOption); in TEST()
200 BuildModule(env, consumer, donor_shader, kFuzzAssembleOption); in TEST()
272 const auto consumer = nullptr; in TEST() local
276 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
281 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
403 const auto consumer = nullptr; in TEST() local
407 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
412 env, consumer, recipient_and_donor_shader, kFuzzAssembleOption); in TEST()
498 const auto consumer = nullptr; in TEST() local
[all …]
Dtransformation_outline_function_test.cpp46 const auto consumer = nullptr; in TEST() local
47 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
110 const auto consumer = nullptr; in TEST() local
111 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
165 const auto consumer = nullptr; in TEST() local
166 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
253 const auto consumer = nullptr; in TEST() local
254 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
330 const auto consumer = nullptr; in TEST() local
331 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
[all …]
/external/rust/crates/rayon/src/iter/find_first_last/
Dtest.rs12 let consumer = far_right_consumer.split_off_left(); in same_range_first_consumers_return_correct_answer() localVariable
18 consumer.split_off_left(); in same_range_first_consumers_return_correct_answer()
21 let reducer = consumer.to_reducer(); in same_range_first_consumers_return_correct_answer()
24 let left_folder = consumer.split_off_left().into_folder(); in same_range_first_consumers_return_correct_answer()
25 let right_folder = consumer.into_folder(); in same_range_first_consumers_return_correct_answer()
44 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &last_found); in same_range_last_consumers_return_correct_answer() localVariable
48 let far_left_consumer = consumer.split_off_left(); in same_range_last_consumers_return_correct_answer()
53 consumer.split_off_left(); in same_range_last_consumers_return_correct_answer()
56 let reducer = consumer.to_reducer(); in same_range_last_consumers_return_correct_answer()
60 let consumer = consumer.split_off_left(); in same_range_last_consumers_return_correct_answer() localVariable
[all …]
/external/mesa3d/src/freedreno/ir3/
Dir3_delay.c45 struct ir3_instruction *consumer, unsigned n) in ignore_dep() argument
47 if (!__is_false_dep(consumer, n)) in ignore_dep()
55 foreach_src (src, consumer) { in ignore_dep()
71 struct ir3_instruction *consumer, unsigned n, bool soft) in ir3_delayslots() argument
73 if (ignore_dep(assigner, consumer, n)) in ir3_delayslots()
81 if (is_meta(assigner) || is_meta(consumer)) in ir3_delayslots()
106 if (is_flow(consumer) || is_sfu(consumer) || is_tex(consumer) || in ir3_delayslots()
107 is_mem(consumer)) { in ir3_delayslots()
109 } else if ((is_mad(consumer->opc) || is_madsh(consumer->opc)) && in ir3_delayslots()
194 struct ir3_instruction *consumer, in delay_calc_srcn() argument
[all …]
/external/rust/crates/rayon/src/iter/plumbing/
Dmod.rs351 pub fn bridge<I, C>(par_iter: I, consumer: C) -> C::Result in bridge()
357 return par_iter.with_producer(Callback { len, consumer }); in bridge()
361 consumer: C, in bridge() field
373 bridge_producer_consumer(self.len, producer, self.consumer) in bridge()
391 pub fn bridge_producer_consumer<P, C>(len: usize, producer: P, consumer: C) -> C::Result in bridge_producer_consumer()
397 return helper(len, false, splitter, producer, consumer); in bridge_producer_consumer()
404 consumer: C, in bridge_producer_consumer()
410 if consumer.full() { in bridge_producer_consumer()
411 consumer.into_folder().complete() in bridge_producer_consumer()
415 let (left_consumer, right_consumer, reducer) = consumer.split_at(mid); in bridge_producer_consumer()
[all …]
/external/oauth/core/src/main/java/net/oauth/
DConsumerProperties.java74 OAuthConsumer consumer; in getConsumer() local
76 consumer = pool.get(name); in getConsumer()
78 if (consumer == null) { in getConsumer()
79 consumer = newConsumer(name); in getConsumer()
84 pool.put(name, consumer); in getConsumer()
90 consumer = first; in getConsumer()
93 return consumer; in getConsumer()
105 OAuthConsumer consumer = new OAuthConsumer(consumerProperties in newConsumer() local
109 consumer.setProperty("name", name); in newConsumer()
111 consumer.setProperty("serviceProvider.baseURL", baseURL); in newConsumer()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dinstruction_fusion.h79 virtual bool ShouldFuse(HloInstruction* consumer, int64 operand_index);
84 virtual bool ShouldFuseIntoMultiOutput(HloInstruction* consumer, in ShouldFuseIntoMultiOutput() argument
92 const HloInstruction* consumer);
102 HloInstruction* consumer);
109 HloInstruction* consumer);
120 const HloInstruction& consumer) { in FusionWouldDuplicate() argument
121 return !(producer.users().size() == 1 && consumer.IsUserOf(&producer)); in FusionWouldDuplicate()
130 HloInstruction* consumer);
144 bool ReusesOperandElements(const HloInstruction* consumer,
157 HloInstruction* consumer);
[all …]
Dinstruction_fusion.cc225 HloInstruction* producer, HloInstruction* consumer, in CanFuseOnAllPaths() argument
229 if (consumer == producer) { in CanFuseOnAllPaths()
232 if (!consumer->IsFusible()) { in CanFuseOnAllPaths()
235 auto cache_it = result_cache->find(std::make_pair(producer, consumer)); in CanFuseOnAllPaths()
240 for (int64 i = 0, e = consumer->operand_count(); i < e; ++i) { in CanFuseOnAllPaths()
241 auto* consumer_operand = consumer->mutable_operand(i); in CanFuseOnAllPaths()
247 if (do_not_fuse.count(consumer_operand) > 0 || !ShouldFuse(consumer, i)) { in CanFuseOnAllPaths()
262 result_cache->emplace(std::make_pair(producer, consumer), result); in CanFuseOnAllPaths()
331 absl::c_all_of(producer->users(), [&](HloInstruction* consumer) { in ComputeGloballyUnfusible() argument
332 return CanFuseOnAllPaths(producer, consumer, do_not_duplicate, in ComputeGloballyUnfusible()
[all …]

12345678910>>...39