From 7d2c7825ffe3e8eb7c1880e68e40622b094b2663 Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Sat, 13 Mar 2021 17:06:37 +0000 Subject: [PATCH] Removed unused code in optensorcopy --- src/OpTensorCopy.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/OpTensorCopy.cpp b/src/OpTensorCopy.cpp index b78dd520b..4438f8d6a 100644 --- a/src/OpTensorCopy.cpp +++ b/src/OpTensorCopy.cpp @@ -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