Home
last modified time | relevance | path

Searched refs:compilation_result (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dtf_xla_mlir_translate.cc69 const XlaCompilationResult& compilation_result, llvm::raw_ostream& output) { in PrintHloModuleText() argument
71 compilation_result.computation->GetProgramShape().ValueOrDie()); in PrintHloModuleText()
73 compilation_result.computation->proto(), module_config); in PrintHloModuleText()
84 if (!compilation_result.input_mapping.empty()) in PrintHloModuleText()
86 << absl::StrJoin(compilation_result.input_mapping, ", ") << "}\n"; in PrintHloModuleText()
88 for (const auto& xla_input_shape : compilation_result.xla_input_shapes) in PrintHloModuleText()
92 << compilation_result.xla_output_shape.ToString() << '\n'; in PrintHloModuleText()
94 for (const auto& xla_output_description : compilation_result.outputs) { in PrintHloModuleText()
106 for (const auto& resource_update : compilation_result.resource_updates) { in PrintHloModuleText()
242 llvm::StringRef device_type, XlaCompilationResult* compilation_result, in CompileMlirToXlaHloViaBuilder() argument
[all …]
Dcompile_mlir_util.h106 XlaCompilationResult* compilation_result);
116 XlaCompilationResult* compilation_result,
126 XlaCompilationResult* compilation_result,
139 XlaCompilationResult* compilation_result,
151 XlaCompilationResult* compilation_result,
Dcompile_mlir_util.cc450 XlaCompilationResult* compilation_result) { in PopulateResultIOInfo() argument
453 GetInputMappingForMlir(arg_shapes.size(), &compilation_result->input_mapping); in PopulateResultIOInfo()
458 &compilation_result->xla_input_shapes)); in PopulateResultIOInfo()
463 &compilation_result->xla_output_shape, &compilation_result->outputs, in PopulateResultIOInfo()
464 &compilation_result->resource_updates); in PopulateResultIOInfo()
472 XlaCompilationResult* compilation_result, in CompileMlirToXlaHlo() argument
479 compilation_result->computation = std::make_shared<xla::XlaComputation>(); in CompileMlirToXlaHlo()
481 module_op, device_type, compilation_result->computation.get(), in CompileMlirToXlaHlo()
487 shape_representation_fn, compilation_result); in CompileMlirToXlaHlo()
494 XlaCompilationResult* compilation_result, in CompileSerializedMlirToXlaHlo() argument
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc222 const XlaCompiler::CompilationResult* compilation_result, in PopulateInputs() argument
227 arguments.reserve(compilation_result->xla_input_shapes.size()); in PopulateInputs()
231 for (int i = 0, end = compilation_result->xla_input_shapes.size(); i < end; in PopulateInputs()
233 int arg_num = compilation_result->input_mapping[i]; in PopulateInputs()
235 const xla::Shape& shape = compilation_result->xla_input_shapes[i]; in PopulateInputs()
242 absl::c_any_of(compilation_result->resource_updates, in PopulateInputs()
345 const XlaCompiler::CompilationResult* compilation_result, int output_num) { in SetOutputForConstant() argument
346 CHECK(compilation_result->outputs[output_num].is_constant); in SetOutputForConstant()
348 compilation_result->outputs[output_num].constant_value; in SetOutputForConstant()
400 const XlaCompiler::CompilationResult& compilation_result, in GatherVariableInfo() argument
[all …]
Dxla_launch_util.h87 const XlaCompiler::CompilationResult& compilation_result,
158 const XlaCompiler::CompilationResult* compilation_result,
175 const XlaCompiler::CompilationResult* compilation_result,
Dxla_compilation_cache_test.cc66 const XlaCompiler::CompilationResult* compilation_result; in TEST() local
75 &compilation_result, &executable); in TEST()
Dget_compiler_ir.cc41 const XlaCompiler::CompilationResult* compilation_result = nullptr; in GetLocalExecutable() local
45 &compilation_result, &executable)); in GetLocalExecutable()
Dxla_compilation_cache.cc457 compile_fn(&compiler, &entry->compilation_result); in CompileImpl()
461 BuildExecutable(options, entry->compilation_result, &entry->executable); in CompileImpl()
496 *out_compilation_result = &entry->compilation_result; in CompileImpl()
Dxla_compilation_cache.h159 XlaCompiler::CompilationResult compilation_result TF_GUARDED_BY(mu);
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_support.cc201 const XlaCompiler::CompilationResult& compilation_result, in AddVariableUpdatesToCores() argument
214 if (resource_update_pos < compilation_result.resource_updates.size()) { in AddVariableUpdatesToCores()
216 compilation_result.resource_updates[resource_update_pos]; in AddVariableUpdatesToCores()
219 int pos = compilation_result.outputs.size() + resource_update_pos; in AddVariableUpdatesToCores()
221 compilation_result.xla_output_shape, pos); in AddVariableUpdatesToCores()
271 const XlaCompiler::CompilationResult& compilation_result, in ComputeOutputShapesForEachCore() argument
275 TF_RET_CHECK(!compilation_result.outputs[i].is_constant) in ComputeOutputShapesForEachCore()
281 compilation_result.xla_output_shape, i); in ComputeOutputShapesForEachCore()
309 const tensorflow::XlaCompiler::CompilationResult& compilation_result, in CreateHloModules() argument
313 compilation_result.computation->proto().has_host_program_shape()); in CreateHloModules()
[all …]
Dtpu_util.cc55 const XlaCompiler::CompilationResult& compilation_result) { in BuildAotXlaComputationInstance() argument
57 instance.computation = compilation_result.computation.get(); in BuildAotXlaComputationInstance()
58 for (const xla::Shape& shape : compilation_result.xla_input_shapes) { in BuildAotXlaComputationInstance()
61 instance.result_layout = &compilation_result.xla_output_shape; in BuildAotXlaComputationInstance()
Dtpu_compile_op_support.h125 const XlaCompiler::CompilationResult& compilation_result,
133 const XlaCompiler::CompilationResult& compilation_result,
138 const XlaCompiler::CompilationResult& compilation_result,
Dtpu_compile_op.cc47 const Tensor compilation_result = ctx->input(0); in Compute() local
50 if (!proto.ParseFromString(compilation_result.scalar<tstring>()())) { in Compute()
Dtpu_util.h47 const XlaCompiler::CompilationResult& compilation_result);
Dtpu_compile_op_common.h182 XlaCompiler::CompilationResult* compilation_result);
Dtpu_compile_op_common.cc287 XlaCompiler::CompilationResult* compilation_result) { in CompileTFFunctionToHlo() argument
386 args, compilation_result); in CompileTFFunctionToHlo()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc79 const XlaCompiler::CompilationResult* compilation_result, in XlaExecutableClosure() argument
83 compilation_result_(compilation_result), in XlaExecutableClosure()
92 const XlaCompiler::CompilationResult* compilation_result() const { in compilation_result() function in tensorflow::__anon46563ba90111::XlaExecutableClosure
171 const XlaCompiler::CompilationResult** compilation_result, in CompileToLocalExecutable() argument
216 compilation_result, executable); in CompileToLocalExecutable()
225 const XlaCompiler::CompilationResult* compilation_result; in Compute() local
237 /*may_alias_resource_update=*/true, &client, &compilation_result, in Compute()
264 launch_context.PopulateInputs(ctx, compilation_result, resource_var_ptrs, in Compute()
293 ctx, compilation_result, execution_output->ConsumeResult(), in Compute()
492 closure.compilation_result()->xla_input_shapes.size(), ")"); in Compute()
[all …]
/external/tensorflow/tensorflow/core/protobuf/tpu/
DBUILD65 "compilation_result.proto",
/external/mesa3d/src/broadcom/compiler/
Dvir_to_qpu.c420 c->compilation_result = V3D_COMPILATION_FAILED; in v3d_vir_to_qpu()
Dvir.c527 c->compilation_result = V3D_COMPILATION_SUCCEEDED; in vir_compile_init()
1240 c->compilation_result != in v3d_compile()
Dv3d_compiler.h725 enum v3d_compilation_result compilation_result; member
Dnir_to_vir.c3439 c->compilation_result = in v3d_nir_to_vir()