aboutsummaryrefslogtreecommitdiff
path: root/tests/IAccessor.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2018-03-02 11:21:38 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:48:33 +0000
commit4a65b9855f71fff11a4c18d2fa4bccc74303e5c6 (patch)
tree13b62f158e57913a55cd9bf409c77b7b4b3e71f2 /tests/IAccessor.h
parent898db6f31f015d077fb87ef82e22abea74a8f710 (diff)
downloadComputeLibrary-4a65b9855f71fff11a4c18d2fa4bccc74303e5c6.tar.gz
COMPMID-991: Add data layout information to the test framework
Change-Id: Iccf66f7476e697e8fdee5a7441cc06b936bbba09 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122986 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/IAccessor.h')
-rw-r--r--tests/IAccessor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/IAccessor.h b/tests/IAccessor.h
index 3744fc8c02..6170bc0ba1 100644
--- a/tests/IAccessor.h
+++ b/tests/IAccessor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -52,6 +52,9 @@ public:
/** Image format of the tensor. */
virtual Format format() const = 0;
+ /** Data layout of the tensor. */
+ virtual DataLayout data_layout() const = 0;
+
/** Data type of the tensor. */
virtual DataType data_type() const = 0;