aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures_new
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2017-08-18 10:59:02 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit39b4e4dba05988240ff06c87d3c4cf4d7f63bcf2 (patch)
treed1cfc66d575283b5c8701eca0c96f4e723068b65 /tests/fixtures_new
parent6dba6d1cdd5bb52802e272965ef28787c88577e5 (diff)
downloadComputeLibrary-39b4e4dba05988240ff06c87d3c4cf4d7f63bcf2.tar.gz
COMPMID-484: Added OpenBLAS GEMM F32 BLAS validation and benchmark tests.
Change-Id: I2d0503f4237d1fb266c96914841e982d69c48e76 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/84503 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/fixtures_new')
-rw-r--r--tests/fixtures_new/GEMMFixture.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fixtures_new/GEMMFixture.h b/tests/fixtures_new/GEMMFixture.h
index b23661f3e3..669a91f0cb 100644
--- a/tests/fixtures_new/GEMMFixture.h
+++ b/tests/fixtures_new/GEMMFixture.h
@@ -35,7 +35,7 @@ namespace arm_compute
namespace test
{
/** Fixture that can be used for NEON and CL */
-template <typename TensorType, typename Function>
+template <typename TensorType, typename Function, typename Accessor>
class GEMMFixture : public framework::Fixture
{
public:
@@ -58,6 +58,10 @@ public:
b.allocator()->allocate();
c.allocator()->allocate();
dst.allocator()->allocate();
+
+ library->fill_tensor_uniform(Accessor(a), 0);
+ library->fill_tensor_uniform(Accessor(b), 1);
+ library->fill_tensor_uniform(Accessor(c), 2);
}
void run()