aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/service/service.h')
-rw-r--r--tensorflow/compiler/xla/service/service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/service.h b/tensorflow/compiler/xla/service/service.h
index 1f62fad4c8..8cf1a7b9f0 100644
--- a/tensorflow/compiler/xla/service/service.h
+++ b/tensorflow/compiler/xla/service/service.h
@@ -191,7 +191,7 @@ class Service : public ServiceInterface {
// Prepare the arguments for executing parallel.
StatusOr<std::vector<std::vector<const ShapedBuffer*>>> GetArguments(
const ExecutionOptions& execution_options,
- absl::Span<const GlobalDataHandle* const> arguments);
+ absl::Span<const GlobalDataHandle* const> arguments) const;
protected:
friend class LocalExecutable;
@@ -208,7 +208,7 @@ class Service : public ServiceInterface {
StatusOr<std::vector<std::vector<const ShapedBuffer*>>>
ResolveAndValidateArguments(
absl::Span<const GlobalDataHandle* const> arguments,
- absl::Span<se::StreamExecutor* const> stream_executors);
+ absl::Span<se::StreamExecutor* const> stream_executors) const;
// Create a Hlo module config for the given program shape and arguments.
// execution_options is optional; if not given a default is used.