aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark/fixtures/HOGDescriptorFixture.h
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2018-06-06 15:34:21 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:53:20 +0000
commita8fdbbb072ed3a36da590d39168d676d6f5de26a (patch)
tree83c158511d5623e9b9686d83002153191ee4d799 /tests/benchmark/fixtures/HOGDescriptorFixture.h
parent17b12307edeaf488cfdf0cc3fa00b8f08293c93e (diff)
downloadComputeLibrary-a8fdbbb072ed3a36da590d39168d676d6f5de26a.tar.gz
COMPMID-761: Add CL/NEON HOGDetector benchmark tests
Change-Id: I9fa088d69d05ba49ceabe962f3e0e5ac128ae83b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/135666 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/benchmark/fixtures/HOGDescriptorFixture.h')
-rw-r--r--tests/benchmark/fixtures/HOGDescriptorFixture.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/benchmark/fixtures/HOGDescriptorFixture.h b/tests/benchmark/fixtures/HOGDescriptorFixture.h
index 3933a165cf..312959347b 100644
--- a/tests/benchmark/fixtures/HOGDescriptorFixture.h
+++ b/tests/benchmark/fixtures/HOGDescriptorFixture.h
@@ -82,15 +82,11 @@ public:
sync_if_necessary<TensorType>();
}
- void teardown()
- {
- src.allocator()->free();
- dst.allocator()->free();
- }
+protected:
+ TensorType dst{};
private:
TensorType src{};
- TensorType dst{};
Function hog_descriptor_func{};
};
} // namespace benchmark