diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2021-06-30 11:51:10 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2021-07-12 14:36:11 +0100 |
commit | 7af2fd7021a80ce4af8e0bb4000a445b82f53ee9 (patch) | |
tree | 3d714ce0aedd188d67ad075bf775a1b957080d21 /src/backends/backendsCommon | |
parent | 4d0c7d5d7fc6e98875e279d3247b918dc92114cf (diff) | |
download | armnn-7af2fd7021a80ce4af8e0bb4000a445b82f53ee9.tar.gz |
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 <nikhil.raj@arm.com>
Change-Id: I222ff6dea155be38899145a5d096093db1b5e716
Diffstat (limited to 'src/backends/backendsCommon')
-rw-r--r-- | src/backends/backendsCommon/test/JsonPrinterTestImpl.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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<armnn::BackendId>& 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); + } } |