Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_module_group.cc22 HloModuleGroup::HloModuleGroup(std::unique_ptr<HloModule> module) in HloModuleGroup() function in xla::HloModuleGroup
27 HloModuleGroup::HloModuleGroup(absl::string_view name, in HloModuleGroup() function in xla::HloModuleGroup
35 HloModuleGroup::HloModuleGroup( in HloModuleGroup() function in xla::HloModuleGroup
43 std::vector<std::unique_ptr<HloModule>> HloModuleGroup::ConsumeModules() { in ConsumeModules()
52 string HloModuleGroup::ToString() const { in ToString()
61 HloModuleGroupProto HloModuleGroup::ToProto() const { in ToProto()
70 uint64 HloModuleGroup::Hash() const { in Hash()
78 /* static */ StatusOr<HloModuleGroup> HloModuleGroup::CreateFromProto( in CreateFromProto()
95 return HloModuleGroup(proto.name(), absl::MakeSpan(modules)); in CreateFromProto()
98 void HloModuleGroup::push_back(std::unique_ptr<HloModule> module) { in push_back()
[all …]
Dhlo_module_group.h32 class HloModuleGroup {
35 explicit HloModuleGroup(absl::string_view name) : name_(name) {} in HloModuleGroup() function
38 explicit HloModuleGroup(std::unique_ptr<HloModule> module);
41 HloModuleGroup(absl::string_view name,
43 HloModuleGroup(absl::string_view name,
78 static StatusOr<HloModuleGroup> CreateFromProto(
99 std::ostream& operator<<(std::ostream& out, const HloModuleGroup& group);
Dhlo_module_group_test.cc50 HloModuleGroup group(std::move(module)); in TEST_F()
57 TF_ASSERT_OK_AND_ASSIGN(HloModuleGroup group_copy, in TEST_F()
58 HloModuleGroup::CreateFromProto( in TEST_F()
94 HloModuleGroup group(TestName(), absl::MakeSpan(modules)); in TEST_F()
102 TF_ASSERT_OK_AND_ASSIGN(HloModuleGroup group_copy, in TEST_F()
103 HloModuleGroup::CreateFromProto( in TEST_F()
130 HloModuleGroup group(TestName()); in TEST_F()
178 HloModuleGroup group(TestName()); in TEST_F()
214 HloModuleGroup group(std::move(old_module)); in TEST_F()
Dhlo_pass_pipeline.cc44 void RecordPassStartMetadata(HloModuleGroup& module_group, in RecordPassStartMetadata()
74 Status AttemptRecordPassEndMetadata(HloModuleGroup& module_group, in AttemptRecordPassEndMetadata()
89 void RecordPassEndMetadata(HloModuleGroup& module_group, in RecordPassEndMetadata()
115 void SetInstructionMetadata(HloModuleGroup& module_group) { in SetInstructionMetadata()
250 HloModuleGroup& module_group, absl::string_view after_pass_name, in MaybeDumpHloAndSaveFilenames()
267 StatusOr<bool> HloPassPipeline::RunOnModuleGroup(HloModuleGroup* module_group) { in RunOnModuleGroup()
Dhlo_pass_pipeline_test.cc35 StatusOr<HloModuleGroup> ParseModuleGroup( in ParseModuleGroup()
37 HloModuleGroup group(TestName()); in ParseModuleGroup()
69 StatusOr<bool> RunOnModuleGroup(HloModuleGroup* module_group) override { in RunOnModuleGroup()
166 TF_ASSERT_OK_AND_ASSIGN(HloModuleGroup module_group, in TEST_F()
264 HloModuleGroup module_group(TestName()); in TEST_F()
Dhlo_pass_pipeline.h82 StatusOr<bool> RunOnModuleGroup(HloModuleGroup* module_group) override;
95 void MaybeDumpHloAndSaveFilenames(HloModuleGroup& module_group,
122 HloModuleGroup* module_group) { in RunHelper()
Dhlo_pass_interface.h43 virtual StatusOr<bool> RunOnModuleGroup(HloModuleGroup* module_group) = 0;
53 StatusOr<bool> RunOnModuleGroup(HloModuleGroup* module_group) override { in RunOnModuleGroup()
Dcompiler.h228 std::unique_ptr<HloModuleGroup> module_group,
232 std::unique_ptr<HloModuleGroup> module_group, in Compile()
262 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group,
268 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group,
Dllvm_compiler.h74 std::unique_ptr<HloModuleGroup> module_group,
Dllvm_compiler.cc26 std::unique_ptr<HloModuleGroup> module_group, in Compile()
Dhlo_pass_fix.h60 StatusOr<bool> RunOnModuleGroup(HloModuleGroup* module_group) override { in RunOnModuleGroup()
Dcompiler.cc48 std::unique_ptr<HloModuleGroup> module_group, in CompileAheadOfTime()
Dcompile_only_service.cc120 absl::make_unique<HloModuleGroup>(hlo_modules[0]->name(), in CompileAheadOfTime()
Dhlo_runner.cc429 auto module_group = absl::make_unique<HloModuleGroup>(std::move(module)); in CreateExecutable()
Dservice.cc307 absl::make_unique<HloModuleGroup>(module_protos[0]->name()); in BuildExecutables()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dcompiler.h53 std::unique_ptr<HloModuleGroup> module_group,
58 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group,
Dcompiler.cc129 std::unique_ptr<HloModuleGroup> module_group, in Compile()
155 std::unique_ptr<HloModuleGroup> module_group, in CompileAheadOfTime()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_compiler.h129 std::unique_ptr<HloModuleGroup> module_group,
148 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group,
Dvectorized_reduce_with_no_vector_registers_test.cc74 auto module_group = absl::make_unique<HloModuleGroup>("group"); in TEST_F()
Dcpu_compiler.cc191 std::unique_ptr<HloModuleGroup> module_group, in Compile()
804 CpuCompiler::CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group, in CompileAheadOfTime()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcodegen_test_base.cc35 auto module_group = absl::make_unique<HloModuleGroup>(std::move(hlo_module)); in CompileToAotCompilationResult()
Dllvm_compiler_test.cc138 auto module_group = absl::make_unique<HloModuleGroup>("test_module_group"); in TestMultiModuleCompilation()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_on_demand_compiler.cc276 std::unique_ptr<HloModuleGroup> module_group, in Compile()
351 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group, in CompileAheadOfTime()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.h101 CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group,
Dgpu_compiler.cc978 GpuCompiler::CompileAheadOfTime(std::unique_ptr<HloModuleGroup> module_group, in CompileAheadOfTime()