aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/gpu/gpu_executable.cc
diff options
context:
space:
mode:
authorGravatar Mark Heffernan <meheff@google.com>2017-10-04 11:18:41 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-10-04 11:26:14 -0700
commit6b90a65f6f0651464c402cd2401da488772ceb7b (patch)
tree94451bef708becd8b3b03c6146c12b78d63db0e8 /tensorflow/compiler/xla/service/gpu/gpu_executable.cc
parent41a0264ab60fa18badf0014fe6d39186736ada3a (diff)
Remove "hybrid" HloModuleConfig option. The option was used to generate executables which only generated the array values of tuple-shaped outputs, not the tuple index tables.. With cl/170133015, ShapedBuffers which hold the computation output now have materialized tuples with these index tables so this option is no longer desired or necessary.
No functional change. Just cleanup. PiperOrigin-RevId: 171035738
Diffstat (limited to 'tensorflow/compiler/xla/service/gpu/gpu_executable.cc')
-rw-r--r--tensorflow/compiler/xla/service/gpu/gpu_executable.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/compiler/xla/service/gpu/gpu_executable.cc b/tensorflow/compiler/xla/service/gpu/gpu_executable.cc
index cae3108619..2c4d515074 100644
--- a/tensorflow/compiler/xla/service/gpu/gpu_executable.cc
+++ b/tensorflow/compiler/xla/service/gpu/gpu_executable.cc
@@ -184,9 +184,6 @@ StatusOr<se::DeviceMemoryBase> GpuExecutable::ExecuteOnStream(
HloExecutionProfile* hlo_execution_profile) {
se::Stream* stream = run_options->stream();
DeviceMemoryAllocator* memory_allocator = run_options->allocator();
- // This ExecuteOnStream overload should only be called if has_hybrid_result is
- // false.
- TF_RET_CHECK(!module_config().has_hybrid_result());
BufferAllocations::Builder buffer_allocations_builder;
for (BufferAllocation::Index i = 0; i < assignment_->Allocations().size();
@@ -264,9 +261,6 @@ StatusOr<std::unique_ptr<ShapedBuffer>> GpuExecutable::ExecuteOnStream(
tensorflow::gtl::ArraySlice<const ShapedBuffer*> arguments,
HloExecutionProfile* hlo_execution_profile) {
DeviceMemoryAllocator* memory_allocator = run_options->allocator();
- // This ExecuteOnStream overload should only be called by the LocalService
- // which sets has_hybrid_result to true.
- TF_RET_CHECK(module_config().has_hybrid_result());
if (GetRootPointsToSet().IsAmbiguous()) {
return Unimplemented("Points-to set of root instruction is ambiguous");