From c11ba468017b8b06c5c0f83743575d34bad1dd3b Mon Sep 17 00:00:00 2001 From: David Monahan Date: Thu, 3 Dec 2020 11:09:46 +0000 Subject: IVGCVSW-4625 Add CL Rank Workload * Added CL implementation of Rank Workload * Removed references to memcpy_s as it's a windows only function Signed-off-by: David Monahan Change-Id: Ia63666b9640d76a775f2ab98b3cd7e9f77b5a507 --- delegate/src/Split.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'delegate/src') diff --git a/delegate/src/Split.hpp b/delegate/src/Split.hpp index 74da979666..c76ad60ace 100644 --- a/delegate/src/Split.hpp +++ b/delegate/src/Split.hpp @@ -9,7 +9,6 @@ #include #include -#include #include namespace armnnDelegate @@ -231,12 +230,8 @@ TfLiteStatus VisitSplitVOperator(DelegateData& delegateData, } std::vector splitsTensorData(numSplits); -#ifdef __STDC_LIB_EXT1__ - ::memcpy_s(splitsTensorData.data(), sizeof(splitsTensorData), - tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes()); -#else - ::memcpy(splitsTensorData.data(), tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes()); -#endif + std::memcpy(splitsTensorData.data(), tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes()); + unsigned int index = 0; unsigned int inferredIndex = 0; -- cgit v1.2.1