aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/ProfilingEventTest.cpp
diff options
context:
space:
mode:
authorKeith Davis <keith.davis@arm.com>2021-08-04 10:35:20 +0100
committerKeithARM <keith.davis@arm.com>2021-08-05 08:11:06 +0000
commit5a64f22101ecdda4846e9d71428633f3ccd56fb2 (patch)
tree5d5dcb617bf2c2786b37a7c64bb6c54ca5696914 /src/armnn/test/ProfilingEventTest.cpp
parent8c999dfeeca7b02a6ea1d0cdcd8c34472f6c9cce (diff)
downloadarmnn-5a64f22101ecdda4846e9d71428633f3ccd56fb2.tar.gz
IVGCVSW-5980 Add Descriptor, TensorInfo and Convolution algorithm to JSON
* Add GUID as field to layer details and profiling events * Add Optional GUID param to existing tests * Improve Details macro to be inline function * Fix some formatting Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I66f192a90a7642b3ee8e7dda0d3f428cce002581
Diffstat (limited to 'src/armnn/test/ProfilingEventTest.cpp')
-rw-r--r--src/armnn/test/ProfilingEventTest.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/armnn/test/ProfilingEventTest.cpp b/src/armnn/test/ProfilingEventTest.cpp
index 1e3d1eac7f..c61f4e2528 100644
--- a/src/armnn/test/ProfilingEventTest.cpp
+++ b/src/armnn/test/ProfilingEventTest.cpp
@@ -27,7 +27,8 @@ TEST_CASE("ProfilingEventTest")
nullptr,
nullptr,
BackendId(),
- std::move(insts1));
+ std::move(insts1),
+ EmptyOptional());
CHECK_EQ(testEvent.GetName(), "EventName");
@@ -50,7 +51,8 @@ TEST_CASE("ProfilingEventTest")
profileManager.GetProfiler(),
&testEvent,
cpuAccBackendId,
- std::move(insts2));
+ std::move(insts2),
+ EmptyOptional());
CHECK_EQ(&testEvent, testEvent2.GetParentEvent());
CHECK_EQ(profileManager.GetProfiler(), testEvent2.GetProfiler());
@@ -70,7 +72,8 @@ TEST_CASE("ProfilingEventTestOnGpuAcc")
nullptr,
nullptr,
BackendId(),
- std::move(insts1));
+ std::move(insts1),
+ EmptyOptional());
CHECK_EQ(testEvent.GetName(), "GPUEvent");
@@ -93,7 +96,8 @@ TEST_CASE("ProfilingEventTestOnGpuAcc")
profileManager.GetProfiler(),
&testEvent,
gpuAccBackendId,
- std::move(insts2));
+ std::move(insts2),
+ EmptyOptional());
CHECK_EQ(&testEvent, testEvent2.GetParentEvent());
CHECK_EQ(profileManager.GetProfiler(), testEvent2.GetProfiler());