Updated key areas identified from pr
This commit is contained in:
parent
eddba0fcf9
commit
56aa1ee96b
2 changed files with 0 additions and 7 deletions
|
|
@ -21,8 +21,6 @@ OpTensorCopy::OpTensorCopy(
|
|||
OpTensorCopy::~OpTensorCopy()
|
||||
{
|
||||
SPDLOG_DEBUG("Kompute OpTensorCopy destructor started");
|
||||
|
||||
SPDLOG_DEBUG("Kompute OpTensorCopy destroying staging tensors");
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -50,14 +50,9 @@ OpTensorSyncDevice::init()
|
|||
stagingTensor->init(
|
||||
this->mPhysicalDevice, this->mDevice);
|
||||
|
||||
stagingTensor->mapDataIntoHostMemory();
|
||||
|
||||
this->mStagingTensors.push_back(stagingTensor);
|
||||
|
||||
} else {
|
||||
|
||||
tensor->mapDataIntoHostMemory();
|
||||
|
||||
// We push a nullptr when no staging tensor is needed to match
|
||||
// index number in array to have one to one mapping with tensors
|
||||
this->mStagingTensors.push_back(nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue