- Fix TODO(b/123) style.
- Use a value type rather than an rvalue reference for a "sink" param.
PiperOrigin-RevId:
197489597
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)) {}
// 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;