Home
last modified time | relevance | path

Searched refs:instruction_count (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse_test.cc65 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
70 EXPECT_EQ(2, computation->instruction_count()); in TEST_F()
95 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
101 EXPECT_EQ(2, computation->instruction_count()); in TEST_F()
127 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
133 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
177 EXPECT_EQ(20, computation->instruction_count()); in TEST_F()
184 EXPECT_EQ(18, computation->instruction_count()); in TEST_F()
207 EXPECT_EQ(4, computation->instruction_count()); in TEST_F()
214 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
[all …]
Dhlo_rematerialization_test.cc194 .instructions()[computation->instruction_count() - 2], in TEST_F()
198 .instructions()[computation->instruction_count() - 3], in TEST_F()
210 EXPECT_EQ(computation->instruction_count(), 8); in TEST_F()
218 EXPECT_EQ(computation->instruction_count(), 8); in TEST_F()
244 EXPECT_EQ(entry_computation->instruction_count(), 7); in TEST_F()
245 EXPECT_EQ(body_computation->instruction_count(), 8); in TEST_F()
256 EXPECT_EQ(entry_computation->instruction_count(), 8); in TEST_F()
257 EXPECT_EQ(body_computation->instruction_count(), 8); in TEST_F()
280 EXPECT_EQ(entry_computation->instruction_count(), 7); in TEST_F()
281 EXPECT_EQ(body_computation->instruction_count(), 8); in TEST_F()
[all …]
Dhlo_dce_test.cc63 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
68 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
84 EXPECT_EQ(4, computation->instruction_count()); in TEST_F()
89 EXPECT_EQ(4, computation->instruction_count()); in TEST_F()
114 EXPECT_EQ(5, computation->instruction_count()); in TEST_F()
120 EXPECT_EQ(4, computation->instruction_count()); in TEST_F()
158 EXPECT_EQ(7, computation->instruction_count()); in TEST_F()
167 EXPECT_EQ(5, computation->instruction_count()); in TEST_F()
200 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
208 EXPECT_EQ(2, computation->instruction_count()); in TEST_F()
[all …]
Dhlo_memory_scheduler_test.cc83 EXPECT_EQ(module->entry_computation()->instruction_count(), sequence.size()); in TEST_F()
131 EXPECT_EQ(module->entry_computation()->instruction_count(), sequence.size()); in TEST_F()
187 EXPECT_EQ(module->entry_computation()->instruction_count(), in TEST_F()
237 EXPECT_EQ(module->entry_computation()->instruction_count(), in TEST_F()
292 EXPECT_EQ(module->entry_computation()->instruction_count(), in TEST_F()
Dhlo_pass_fix.h42 std::max(static_cast<int64>(1000), module->instruction_count()); in Run()
65 limit = std::max<int64>(limit, module->instruction_count()); in RunOnModuleGroup()
Dhlo_memory_scheduler.cc364 CHECK_EQ(schedule.size(), computation_->instruction_count()); in CreateSchedule()
365 CHECK_EQ(scheduled_instructions_.size(), computation_->instruction_count()); in CreateSchedule()
427 int64 total_hlos = computation->parent()->instruction_count(); in DFSMemoryScheduler()
464 CHECK_EQ(extra_users.size(), computation->instruction_count()); in DFSMemoryScheduler()
465 CHECK_EQ(total_sizes.size(), computation->instruction_count()); in DFSMemoryScheduler()
486 CHECK_EQ(sequence.size(), computation->instruction_count()); in DFSMemoryScheduler()
Dhlo_execution_profile.h61 size_t instruction_count() const { in instruction_count() function
74 return instruction_count() + computation_count() + extra_metrics_count(); in total_count()
Dbatchnorm_expander.cc202 int64 instruction_count_before = computation_->instruction_count(); in HandleBatchNormTraining()
302 int64 instruction_count_after = computation_->instruction_count(); in HandleBatchNormTraining()
370 int64 instruction_count_before = computation_->instruction_count(); in HandleBatchNormInference()
407 int64 instruction_count_after = computation_->instruction_count(); in HandleBatchNormInference()
459 int64 instruction_count_before = computation_->instruction_count(); in HandleBatchNormGrad()
585 int64 instruction_count_after = computation_->instruction_count(); in HandleBatchNormGrad()
Dhlo_schedule.cc266 computation->instruction_count()) in Verify()
269 << computation->instruction_count(); in Verify()
Dbuffer_assignment_test.cc2016 int64 instruction_count = m->instruction_count(); in TEST_F() local
2019 ASSERT_EQ(instruction_count, m->instruction_count()); in TEST_F()
2083 int64 instruction_count = m->instruction_count(); in TEST_F() local
2086 ASSERT_EQ(instruction_count, m->instruction_count()); in TEST_F()
2191 int64 instruction_count = module->instruction_count(); in TEST_F() local
2194 ASSERT_EQ(instruction_count, module->instruction_count()); in TEST_F()
Dhlo_execution_profile.cc92 computation->instruction_count()); in CreateHloProfilePrinterData()
Dhlo_cse.cc141 representatives(/*N=*/computation->instruction_count() + 1, &CseHash, in Run()
Dlogical_buffer_analysis.cc57 logical_buffers_.reserve((module_->instruction_count() * 11) / 10); in Analyze()
Dhlo_computation.cc423 post_order.reserve(instruction_count()); in MakeInstructionPostOrder()
426 visited.reserve(instruction_count()); in MakeInstructionPostOrder()
475 CHECK_EQ(instruction_order.size(), instruction_count()); in ToString()
844 TF_RET_CHECK(order.size() == instruction_count()); in AcceptOrdered()
Dhlo_module.h177 int64 instruction_count() const;
Dhlo_module.cc491 int64 HloModule::instruction_count() const { in instruction_count() function in xla::HloModule
494 n += computation->instruction_count(); in instruction_count()
Dhlo_computation.h225 int64 instruction_count() const { return instruction_iterators_.size(); } in instruction_count() function
Dlayout_assignment.cc595 instruction->branch_computation(0)->instruction_count(); in AddMandatoryConstraints()
597 const int64 instruction_count = in AddMandatoryConstraints() local
598 instruction->branch_computation(j)->instruction_count(); in AddMandatoryConstraints()
599 if (instruction_count > largest_instruction_count) { in AddMandatoryConstraints()
601 largest_instruction_count = instruction_count; in AddMandatoryConstraints()
Dtuple_simplifier_test.cc288 EXPECT_THAT(entry->instruction_count(), 9); in TEST_F()
Dhlo_module_group_util.cc335 instructions_count += computation->instruction_count(); in VerifyComputations()
/external/vixl/test/aarch64/
Dtest-fuzz-aarch64.cc44 static const int instruction_count = 43 * 1024 * 1024; in TEST() local
52 for (int i = 0; i < instruction_count; i++) { in TEST()
62 static const int instruction_count = 9 * 1024 * 1024; in TEST() local
72 for (int i = 0; i < instruction_count; i++) { in TEST()
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Dinstruction_count_test.c109 int instruction_count(void) in instruction_count() function
166 return test_harness(instruction_count, "instruction_count"); in main()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp126 return spvtools::DiagnosticStream({0, 0, _.instruction_count}, consumer_, in diagnostic()
182 instruction_count(0), in State()
196 size_t instruction_count; // The count of processed instructions member
274 _.instruction_count++; in parseInstruction()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c636 uint32_t instruction_count; in etna_get_specs() local
642 instruction_count = val; in etna_get_specs()
761 if (instruction_count > 256) { /* unified instruction memory? */ in etna_get_specs()
768 screen->specs.max_instructions = instruction_count / 2; in etna_get_specs()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.c1106 unsigned instruction_count = code->length / 4; in r300_emit_vs_state() local
1126 R300_PVS_XYZW_VALID_INST(instruction_count - 1) | in r300_emit_vs_state()
1127 R300_PVS_LAST_INST(instruction_count - 1)); in r300_emit_vs_state()
1128 OUT_CS_REG(R300_VAP_PVS_CODE_CNTL_1, instruction_count - 1); in r300_emit_vs_state()

12