aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/test/OpenClTimerTest.cpp
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-01-07 09:47:29 +0000
committerTeresaARM <teresa.charlinreyes@arm.com>2022-01-18 13:15:41 +0000
commit611c7fb97412230d5cefee047081455fb60db06c (patch)
tree1244050b50a300f67285aef00d8b05c52865b89a /src/backends/cl/test/OpenClTimerTest.cpp
parent53e06599a3af44db90c37d1cda34fc85ec9c27fa (diff)
downloadarmnn-611c7fb97412230d5cefee047081455fb60db06c.tar.gz
IVGCVSW-6641 Stabilize the IWorkloadFactory interface with unified strategy
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia941be9bf2c15fe56e49a9b9a2bbe943a8152438
Diffstat (limited to 'src/backends/cl/test/OpenClTimerTest.cpp')
-rw-r--r--src/backends/cl/test/OpenClTimerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/cl/test/OpenClTimerTest.cpp b/src/backends/cl/test/OpenClTimerTest.cpp
index 43387d8e4e..3d273903bd 100644
--- a/src/backends/cl/test/OpenClTimerTest.cpp
+++ b/src/backends/cl/test/OpenClTimerTest.cpp
@@ -99,7 +99,7 @@ TEST_CASE_FIXTURE(OpenClFixture, "OpenClTimerBatchNorm")
// for each channel:
// substract mean, divide by standard deviation (with an epsilon to avoid div by 0)
// multiply by gamma and add beta
- std::unique_ptr<IWorkload> workload = workloadFactory.CreateBatchNormalization(data, info);
+ std::unique_ptr<IWorkload> workload = workloadFactory.CreateWorkload(LayerType::BatchNormalization, data, info);
inputHandle->Allocate();
outputHandle->Allocate();