Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_input_output_alias_config.cc23 bool HloInputOutputAliasConfig::OutputHasAlias( in OutputHasAlias()
28 Status HloInputOutputAliasConfig::SetUpAlias( in SetUpAlias()
31 HloInputOutputAliasConfig::AliasKind must_alias) { in SetUpAlias()
54 HloInputOutputAliasProto HloInputOutputAliasConfig::ToProto() const { in ToProto()
78 StatusOr<HloInputOutputAliasConfig> HloInputOutputAliasConfig::CreateFromProto( in CreateFromProto()
80 HloInputOutputAliasConfig result(std::move(output_shape)); in CreateFromProto()
95 const Shape& HloInputOutputAliasConfig::shape() const { return alias_.shape(); } in shape()
97 string HloInputOutputAliasConfig::ToString() const { in ToString()
112 string HloInputOutputAliasConfig::ToShortString() const { in ToShortString()
124 bool HloInputOutputAliasConfig::ParameterMustAlias( in ParameterMustAlias()
[all …]
Dhlo_input_output_alias_config_test.cc39 const HloInputOutputAliasConfig& config) { in expect_aliased()
46 absl::optional<HloInputOutputAliasConfig::Alias> aliased_param = in expect_aliased()
56 const HloInputOutputAliasConfig& config) { in expect_not_aliased()
62 absl::optional<HloInputOutputAliasConfig::Alias> aliased_param = in expect_not_aliased()
84 HloInputOutputAliasConfig config( in TEST_F()
115 HloInputOutputAliasConfig config( in TEST_F()
152 HloInputOutputAliasConfig config( in TEST_F()
181 HloInputOutputAliasConfig config( in TEST_F()
206 HloInputOutputAliasConfig config( in TEST_F()
Dhlo_input_output_alias_config.h33 class HloInputOutputAliasConfig {
64 HloInputOutputAliasConfig() = default;
66 explicit HloInputOutputAliasConfig(Shape output_shape) in HloInputOutputAliasConfig() function
69 virtual ~HloInputOutputAliasConfig() = default;
91 static StatusOr<HloInputOutputAliasConfig> CreateFromProto(
145 const HloInputOutputAliasConfig& config);
Doptimize_input_output_buffer_alias_test.cc48 [&](const ShapeIndex&, const HloInputOutputAliasConfig::Alias&) { in AliasCount()
55 config_ = HloInputOutputAliasConfig(output_shape); in BuildAliasConfig()
64 HloInputOutputAliasConfig config_;
Doptimize_input_output_buffer_alias.cc42 HloInputOutputAliasConfig* alias_config) { in Build()
96 HloInputOutputAliasConfig* alias_config = in Run()
Dhlo_module.h282 HloInputOutputAliasConfig& input_output_alias_config() { in input_output_alias_config()
285 const HloInputOutputAliasConfig& input_output_alias_config() const { in input_output_alias_config()
417 HloInputOutputAliasConfig input_output_alias_config_;
Doptimize_input_output_buffer_alias.h62 HloInputOutputAliasConfig* alias_config);
Dhlo_module.cc63 input_output_alias_config_ = HloInputOutputAliasConfig( in ReplaceEntryComputation()
83 input_output_alias_config_ = HloInputOutputAliasConfig( in AddComputationInternal()
406 HloInputOutputAliasConfig::CreateFromProto( in CreateFromProto()
Dcopy_insertion.cc366 const HloInputOutputAliasConfig::Alias& alias) { in AddCopiesForAliasedInputOutputs()
413 const HloInputOutputAliasConfig::Alias& alias) -> Status { in AddCopiesForAliasedInputOutputs()
1109 absl::optional<HloInputOutputAliasConfig::Alias> alias = in AddSpecialCaseCopies()
Dhlo_runner.cc123 HloInputOutputAliasConfig alias_config, int device_ordinal, in ExecutionInputsFromScopedShapedBuffers()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_executable_interface.cc55 const Shape& host_shape, const HloInputOutputAliasConfig& alias_config, in AllocateOutputMemoryWithInputReuse()
67 absl::optional<HloInputOutputAliasConfig::Alias> alias) { in AllocateOutputMemoryWithInputReuse()
112 absl::optional<HloInputOutputAliasConfig::Alias> alias = in AllocateOutputMemoryWithInputReuse()
182 const HloInputOutputAliasConfig& alias_config = in ExecuteAsyncOnStream()
183 hlo_module_ == nullptr ? HloInputOutputAliasConfig() in ExecuteAsyncOnStream()
Dtpu_executable_interface.h67 const Shape& host_shape, const HloInputOutputAliasConfig& alias_config,
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_util.h86 const xla::HloInputOutputAliasConfig& input_output_alias);
89 const xla::HloInputOutputAliasConfig& input_output_alias,
Dxrt_util.cc301 const xla::HloInputOutputAliasConfig& input_output_alias) { in RebuildOutputAliases()
304 const xla::HloInputOutputAliasConfig::Alias& alias) -> Status { in RebuildOutputAliases()
313 const xla::HloInputOutputAliasConfig& input_output_alias, in GetArgumentsBuffers()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_execute_op.cc124 xla::StatusOr<xla::HloInputOutputAliasConfig> GetExecutableAliasConfig( in GetExecutableAliasConfig()
129 return xla::HloInputOutputAliasConfig::CreateFromProto( in GetExecutableAliasConfig()
140 const xla::HloInputOutputAliasConfig& input_output_alias, in AllocateOutputTuple()
176 const xla::HloInputOutputAliasConfig& input_output_alias, in AllocateOutputTensors()
335 xla::HloInputOutputAliasConfig input_output_alias, in DoWork()
446 xla::HloInputOutputAliasConfig input_output_alias, in DoWork()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.h161 const xla::HloInputOutputAliasConfig& input_output_alias);
178 const xla::HloInputOutputAliasConfig& input_output_alias,
Dxla_launch_util.cc225 const xla::HloInputOutputAliasConfig& input_output_alias) { in PopulateInputs()
303 const xla::HloInputOutputAliasConfig& input_output_alias, in GetOrCreateTensorForOutput()
313 if (absl::optional<xla::HloInputOutputAliasConfig::Alias> alias = in GetOrCreateTensorForOutput()
425 const xla::HloInputOutputAliasConfig& input_output_alias, in PopulateOutputs()
Dxla_compile_on_demand_op.cc69 const xla::HloInputOutputAliasConfig& input_output_alias = in Run()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dbuffer_donation_test.cc72 HloInputOutputAliasConfig alias_config = in RunAndCheck()
147 const HloInputOutputAliasConfig::Alias& alias) { in RunAndCheck()
330 {0}, 0, {}, HloInputOutputAliasConfig::kMustAlias)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dutils.cc226 const HloInputOutputAliasConfig& config = module.input_output_alias_config(); in GetParametersThatMustBeDonated()
229 const HloInputOutputAliasConfig::Alias& alias) { in GetParametersThatMustBeDonated()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_executable.cc233 const HloInputOutputAliasConfig& input_output_alias = in CreateResultShapedBuffer()
259 absl::optional<HloInputOutputAliasConfig::Alias> alias = in CreateResultShapedBuffer()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_executable.h67 absl::optional<HloInputOutputAliasConfig::Alias> alias_config;
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc261 const xla::HloInputOutputAliasConfig& input_output_alias = in Compute()
483 const xla::HloInputOutputAliasConfig& input_output_alias = in Compute()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dxla_mlir_translate.cc205 const HloInputOutputAliasConfig::Alias& alias) { in MlirHloToHloTextTranslateFunctionImpl()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_execute.cc466 xla::HloInputOutputAliasConfig::CreateFromProto( in TPUExecute()

12