summaryrefslogtreecommitdiff
path: root/tests/IAccessor.h
diff options
context:
space:
mode:
authorKaizen <kaizen@arm.com>2017-09-28 14:38:23 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2017-09-28 16:31:13 +0100
commit8938bd3f40ea62ff56d6ed4e2db0a8aee34dd64a (patch)
treec234331232f227e0cdfb567a54ecaa5460aaa064 /tests/IAccessor.h
parentf4a254c2745aeaab6f7276a675147d707002fe7a (diff)
downloadarmcl-8938bd3f40ea62ff56d6ed4e2db0a8aee34dd64a.tar.gz
armcl-8938bd3f40ea62ff56d6ed4e2db0a8aee34dd64a.tar.bz2
armcl-8938bd3f40ea62ff56d6ed4e2db0a8aee34dd64a.zip
arm_compute v17.09
Change-Id: I4bf8f4e6e5f84ce0d5b6f5ba570d276879f42a81
Diffstat (limited to 'tests/IAccessor.h')
-rw-r--r--tests/IAccessor.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/IAccessor.h b/tests/IAccessor.h
index 3c06dc36b..ef06e9e9d 100644
--- a/tests/IAccessor.h
+++ b/tests/IAccessor.h
@@ -37,8 +37,8 @@ namespace test
class IAccessor
{
public:
- /** Pure virtual destructor. */
- virtual ~IAccessor() = 0;
+ /** Virtual destructor. */
+ virtual ~IAccessor() = default;
/** Shape of the tensor. */
virtual TensorShape shape() const = 0;
@@ -61,6 +61,9 @@ public:
/** Number of elements of the tensor. */
virtual int num_elements() const = 0;
+ /** Available padding around the tensor. */
+ virtual PaddingSize padding() const = 0;
+
/** Number of bits for the fractional part. */
virtual int fixed_point_position() const = 0;
@@ -80,10 +83,6 @@ public:
*/
virtual void *operator()(const Coordinates &coord) = 0;
};
-
-inline IAccessor::~IAccessor()
-{
-}
} // namespace test
} // namespace arm_compute
-#endif
+#endif /* __ARM_COMPUTE_TEST_IACCESSOR_H__ */