aboutsummaryrefslogtreecommitdiff
path: root/delegate
diff options
context:
space:
mode:
authorDavid Monahan <david.monahan@arm.com>2020-12-03 11:09:46 +0000
committerDavid Monahan <david.monahan@arm.com>2020-12-17 14:14:39 +0000
commitc11ba468017b8b06c5c0f83743575d34bad1dd3b (patch)
treee8d5171c88c23f2bb1c6b6e06e1bd1468b11ddff /delegate
parentffd8cccceff24c46fd8039bdbe62092d53f6e0c6 (diff)
downloadarmnn-c11ba468017b8b06c5c0f83743575d34bad1dd3b.tar.gz
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 <david.monahan@arm.com> Change-Id: Ia63666b9640d76a775f2ab98b3cd7e9f77b5a507
Diffstat (limited to 'delegate')
-rw-r--r--delegate/src/Split.hpp9
1 files changed, 2 insertions, 7 deletions
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 <algorithm>
#include <iterator>
-#include <string>
#include <vector>
namespace armnnDelegate
@@ -231,12 +230,8 @@ TfLiteStatus VisitSplitVOperator(DelegateData& delegateData,
}
std::vector<int32_t> 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;