Home
last modified time | relevance | path

Searched refs:computations (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DConcurrentStatefulActorBenchmark.kt70 val computations = (0 until CORES_COUNT).map { computationActor(stateSize) } in <lambda>() constant
71 val requestor = requestorActorUnfair(computations, resultChannel) in <lambda>()
79 val computations = (0 until CORES_COUNT).map { computationActor(stateSize) } in <lambda>() constant
80 val requestor = requestorActorFair(computations, resultChannel) in <lambda>()
86 computations: List<SendChannel<Letter>>, in requestorActorUnfair()
94 computations.shuffled() in requestorActorUnfair()
99 computations.forEach { it.close() } in requestorActorUnfair()
112 computations: List<SendChannel<Letter>>, in requestorActorFair()
116 val received = hashMapOf(*computations.map { it to 0 }.toTypedArray()) in requestorActorFair()
122 computations.shuffled() in requestorActorFair()
[all …]
DStatefulActorBenchmark.kt69 val computations = (0 until computationActorsCount).map { computationActor() } in run() constant
70 …val requestors = (0 until requestorActorsCount).map { requestorActor(computations, resultChannel) } in run()
81 …private fun CoroutineScope.requestorActor(computations: List<SendChannel<Letter>>, stopChannel: Ch… in requestorActor()
91 computations[ThreadLocalRandom.current().nextInt(0, computations.size)] in requestorActor()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/akka/
DStatefulActorAkkaBenchmark.kt97 val computations = createComputationActors(initLatch, computationActors) in run() constant
98 val requestors = createRequestorActors(requestorActors, computations, initLatch, stopLatch) in run()
106 computations.forEach { it.tell(Stop(), ActorRef.noSender()) } in run()
109 …private fun createRequestorActors(requestorActors: Int, computations: List<ActorRef>, initLatch: C… in createRequestorActors()
111 … system.actorOf(Props.create(RequestorActor::class.java, computations, initLatch, stopLatch) in createRequestorActors()
125 class RequestorActor(val computations: List<ActorRef>, val initLatch: CountDownLatch, constant in benchmarks.akka.StatefulActorAkkaBenchmark.RequestorActor
136 computations[ThreadLocalRandom.current().nextInt(0, computations.size)] in onReceive()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_subcomputation_unification.cc26 const auto& computations = module->computations(); in Run() local
27 for (auto i = computations.begin(); i != computations.end(); ++i) { in Run()
28 for (auto j = computations.begin(); j != i; ++j) { in Run()
Dhlo_module_group_util.h59 absl::Span<HloComputation* const> computations);
96 Status VerifyComputations(absl::Span<HloComputation* const> computations);
103 absl::Span<HloComputation* const> computations);
Dhlo_module_group_util.cc196 absl::Span<HloComputation* const> computations) { in RootInstructions() argument
198 for (HloComputation* computation : computations) { in RootInstructions()
313 absl::Span<HloComputation* const> computations) { in VerifyComputations() argument
321 for (HloComputation* computation : computations) { in VerifyComputations()
344 absl::Span<HloComputation* const> computations) { in ComputeReachability() argument
354 for (HloInstruction* root : RootInstructions(computations)) { in ComputeReachability()
Dhlo_module.cc250 const auto& computations = options.canonicalize_computations() in ToString() local
253 for (const HloComputation* computation : computations) { in ToString()
307 for (const HloComputation* computation : computations()) { in CheckUniqueNamesAndIdsForComputationsAndInstructions()
365 std::vector<std::unique_ptr<HloComputation>> computations; in CreateFromProto() local
367 for (const HloComputationProto& computation_proto : proto.computations()) { in CreateFromProto()
381 computations.push_back(std::move(computation)); in CreateFromProto()
388 absl::c_sort(computations, [&](const std::unique_ptr<HloComputation>& a, in CreateFromProto()
394 for (auto& computation : computations) { in CreateFromProto()
718 for (HloComputation* computation : computations()) { in Clone()
746 for (auto computation : computations()) { in RemoveUnusedComputations()
[all …]
Dhlo_query.cc125 for (auto computation : module.computations()) { in ContainsLayoutConstrainedAllReduce()
138 for (const HloComputation* comp : module.computations()) { in NextChannelId()
152 for (auto computation : module.computations()) { in HasX64TransformedHostTransfer()
Dloop_schedule_linearizer_test.cc51 for (const auto& computation : module.computations()) { in CountCopies()
67 for (const auto& computation : module.computations()) { in CountControlEdges()
Dcompile_only_service.h53 const absl::Span<const AotXlaComputationInstance> computations,
58 const absl::Span<const AotXlaComputationInstance> computations,
Ddynamic_index_splitter.cc35 std::vector<HloComputation*> computations = in Run() local
37 for (HloComputation* computation : computations) { in Run()
Dcall_graph.cc200 for (const HloComputation* computation : module_->computations()) { in SetCallContexts()
238 for (const HloComputation* computation : module_->computations()) { in SetCallContexts()
253 for (const HloComputation* computation : module_->computations()) { in SetNodeDepths()
287 for (HloComputation* computation : module->computations()) { in Build()
302 for (const HloComputation* computation : module->computations()) { in Build()
Dhlo_module_test.cc53 absl::Span<HloComputation* const> computations) { in CreateCallComputation() argument
55 for (auto computation : computations) { in CreateCallComputation()
314 auto computation_copy_it = module_copy->computations().begin(); in TEST_F()
315 for (const HloComputation* computation_orig : module->computations()) { in TEST_F()
340 for (const HloComputation* computation : module_copy->computations()) { in TEST_F()
Dhlo_domain_verifier.cc49 for (HloComputation* computation : module_->computations()) { in PopulateDomainKinds()
68 for (HloComputation* computation : module_->computations()) { in Run()
Dcompile_only_service.cc66 const absl::Span<const AotXlaComputationInstance> computations, in CompileAheadOfTime() argument
98 for (const AotXlaComputationInstance& instance : computations) { in CompileAheadOfTime()
Dhlo_pass_pipeline_test.cc53 for (HloComputation* computation : module->computations()) { in Run()
72 for (HloComputation* computation : module->computations()) { in RunOnModuleGroup()
91 for (HloComputation* computation : module->computations()) { in Run()
/external/tensorflow/tensorflow/compiler/xla/client/
Dcompile_only_client.cc36 const absl::Span<const AotXlaComputationInstance> computations, in CompileAheadOfTime() argument
40 service_instances.reserve(computations.size()); in CompileAheadOfTime()
41 for (const AotXlaComputationInstance& instance : computations) { in CompileAheadOfTime()
Dclient.cc329 absl::Span<const XlaComputationInstance> computations) { in ExecuteParallel() argument
332 for (const XlaComputationInstance& computation : computations) { in ExecuteParallel()
356 if (i < computations.size() && in ExecuteParallel()
357 computations[i].execution_profile != nullptr) { in ExecuteParallel()
358 *computations[i].execution_profile = response.responses(i).profile(); in ExecuteParallel()
/external/tensorflow/tensorflow/compiler/xla/service/g3doc/
Dhlo_parser.md5 : 'HloModule' name computations
10 computations
12 | computation computations
/external/tensorflow/tensorflow/compiler/xla/rpc/
Dxla_service.proto18 // Users 1) build up computations and 2) create allocations via this API.
22 // Users build up computations using a ComputationHandle, and talk about
38 // All data in XLA computations are conceptually immutable.
118 // handles can be used to specify the device on which to execute computations
125 // two computations via a pair of Send and Recv instructions.
139 // Invokes the provided list of computations in parallel with the provided
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_sanitize_constant_names.cc37 for (HloComputation* computation : module->computations()) { in Run()
54 for (HloComputation* computation : module->computations()) { in Run()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dinteractive_graphviz.cc122 for (const auto& computation : module.computations()) { in FindInstruction()
138 for (auto* computation : module.computations()) { in FindComputation()
219 std::cout << R"(Illegal syntax; "list computations" takes no arguments.)"; in DoListComputationsCommand()
229 for (const auto& computation : module.computations()) { in DoListComputationsCommand()
253 for (const auto& computation : module.computations()) { in DoListCommand()
313 for (const HloComputation* c : module.computations()) { in DoInfoCommand()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_TPUCompile.pbtxt3 summary: "Compiles a computations for execution on one or more TPU devices."
7 'num_computations' is the number of computations to be compiled.
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_test_base.cc574 auto computations = module->computations(); in FindComputation() local
576 computations, [&](HloComputation* c) { return c->name() == name; }); in FindComputation()
577 if (it == computations.end()) { in FindComputation()
585 for (const HloComputation* c : module->computations()) { in FindInstruction()
598 for (const HloComputation* c : module->computations()) { in FindInstruction()
/external/llvm-project/llvm/test/CodeGen/Mips/cstmaterialization/
Dstack.ll32 ; These are here to match other lui's used in address computations. We need to
33 ; investigate why address computations are not CSE'd. Or implement it.

12345678910>>...12