diff options
Diffstat (limited to 'tests/CL')
-rw-r--r-- | tests/CL/CLAccessor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/CL/CLAccessor.h b/tests/CL/CLAccessor.h index 260da035c5..b1d7a078b1 100644 --- a/tests/CL/CLAccessor.h +++ b/tests/CL/CLAccessor.h @@ -59,6 +59,7 @@ public: DataType data_type() const override; int num_channels() const override; int num_elements() const override; + PaddingSize padding() const override; int fixed_point_position() const override; const void *operator()(const Coordinates &coord) const override; void *operator()(const Coordinates &coord) override; @@ -113,6 +114,11 @@ inline int CLAccessor::num_elements() const return _tensor.info()->tensor_shape().total_size(); } +inline PaddingSize CLAccessor::padding() const +{ + return _tensor.info()->padding(); +} + inline int CLAccessor::fixed_point_position() const { return _tensor.info()->fixed_point_position(); |