aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Justin Lebar <jlebar@google.com>2018-05-21 17:34:56 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-21 17:37:13 -0700
commitd913a243196fa07d4728c8f7c1ce6444ecd086eb (patch)
treebb24830da22993304251eafbad594e1fd1bc14fe
parent31ca159c1c86cb983c78e134cc756489653228f2 (diff)
[XLA] Two minor style-guide fixups.
- Fix TODO(b/123) style. - Use a value type rather than an rvalue reference for a "sink" param. PiperOrigin-RevId: 197489597
-rw-r--r--tensorflow/compiler/xla/service/gpu/sequential_thunk.cc2
-rw-r--r--tensorflow/compiler/xla/service/gpu/sequential_thunk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/gpu/sequential_thunk.cc b/tensorflow/compiler/xla/service/gpu/sequential_thunk.cc
index b50f5b5a90..88cb10883e 100644
--- a/tensorflow/compiler/xla/service/gpu/sequential_thunk.cc
+++ b/tensorflow/compiler/xla/service/gpu/sequential_thunk.cc
@@ -20,7 +20,7 @@ limitations under the License.
namespace xla {
namespace gpu {
-SequentialThunk::SequentialThunk(std::vector<std::unique_ptr<Thunk>>&& thunks,
+SequentialThunk::SequentialThunk(std::vector<std::unique_ptr<Thunk>> thunks,
const HloInstruction* hlo)
: Thunk(Kind::kSequential, hlo), thunks_(std::move(thunks)) {}
diff --git a/tensorflow/compiler/xla/service/gpu/sequential_thunk.h b/tensorflow/compiler/xla/service/gpu/sequential_thunk.h
index 3537110bb5..135f79e413 100644
--- a/tensorflow/compiler/xla/service/gpu/sequential_thunk.h
+++ b/tensorflow/compiler/xla/service/gpu/sequential_thunk.h
@@ -31,7 +31,7 @@ namespace gpu {
// require multiple kernel launches or library calls.
class SequentialThunk : public Thunk {
public:
- SequentialThunk(std::vector<std::unique_ptr<Thunk>>&& thunks,
+ SequentialThunk(std::vector<std::unique_ptr<Thunk>> thunks,
const HloInstruction* hlo);
SequentialThunk(const SequentialThunk&) = delete;
SequentialThunk& operator=(const SequentialThunk&) = delete;