From 7af2fd7021a80ce4af8e0bb4000a445b82f53ee9 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 30 Jun 2021 11:51:10 +0100 Subject: Fix Unittest failures in CL Master * This change is caused by ACL patch: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5855 Signed-off-by: Nikhil Raj Change-Id: I222ff6dea155be38899145a5d096093db1b5e716 --- src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp') diff --git a/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp b/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp index 92c8e14e4b..c4c9f7f31c 100644 --- a/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp +++ b/src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp @@ -259,6 +259,12 @@ void RunSoftmaxProfilerJsonPrinterTest(const std::vector& back } else if (firstBackend == armnn::Compute::CpuAcc) { - CHECK(result.find("NeonKernelTimer/: CpuLogitsDLogSoftmaxKernel_#") != std::string::npos); + CHECK(result.find("NeonKernelTimer") != std::string::npos); // Validate backend + + bool softmaxCheck = ((result.find("softmax") != std::string::npos) || // Validate softmax + (result.find("Softmax") != std::string::npos) || + (result.find("SoftMax") != std::string::npos)); + CHECK(softmaxCheck); + } } -- cgit v1.2.1