Removed unused code in optensorcopy

This commit is contained in:
Alejandro Saucedo 2021-03-13 17:06:37 +00:00
parent 156e3b4964
commit 7d2c7825ff

View file

@ -59,10 +59,6 @@ OpTensorCopy::postEval(const vk::CommandBuffer& commandBuffer)
{
KP_LOG_DEBUG("Kompute OpTensorCopy postEval called");
// TODO: Simplify with a copyRawData
uint32_t size = this->mTensors[0]->size();
uint32_t dataTypeMemSize = this->mTensors[0]->dataTypeMemorySize();
uint32_t memSize = size * dataTypeMemSize;
void* data = this->mTensors[0]->rawData();
// Copy the data from the first tensor into all the tensors