Skip to content

Commit

Permalink
Make TransferBufferToInFeed not virual so it compiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
yifeif committed Jun 21, 2017
1 parent e89f04d commit cb4c2f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tensorflow/compiler/plugin/executor/transfer_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ Status ExecutorTransferManager::TransferLiteralToInfeed(
return Status::OK();
}

Status ExecutorTransferManager::TransferBufferToInfeed(
se::StreamExecutor* executor, int64 size, const void* source) {
return Unimplemented("Transfer to Infeed");
}

Status ExecutorTransferManager::TransferLiteralFromOutfeed(
perftools::gputools::StreamExecutor* executor, const Shape& literal_shape,
Literal* literal) {
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/compiler/plugin/executor/transfer_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ class ExecutorTransferManager : public TransferManager {
Status TransferLiteralToInfeed(se::StreamExecutor* executor,
const Literal& literal) override;

Status TransferBufferToInfeed(se::StreamExecutor* executor,
int64 size, const void* source) override;

Status TransferLiteralFromOutfeed(se::StreamExecutor* executor,
const Shape& literal_shape,
Literal* literal) override;
Expand Down

0 comments on commit cb4c2f8

Please sign in to comment.