aboutsummaryrefslogtreecommitdiff
path: root/tests/CL
diff options
context:
space:
mode:
authorChunosov <N.Chunosov@yandex.ru>2017-11-03 17:33:15 +0700
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitd621bca4e963555a99be4328c8d49d1813789649 (patch)
tree59503f9d4cdbaafefdba5a2569bf3d88082ad09d /tests/CL
parent5a99ddf2dcf3a5eb49ea85cb8bcc6a43f1496e5e (diff)
downloadComputeLibrary-d621bca4e963555a99be4328c8d49d1813789649.tar.gz
COMPMID-661: directconv-uint8 (#20)
Change-Id: I84f7a1ce3658be0d3c91e65096467258af48f0b6 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/94341 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/CL')
-rw-r--r--tests/CL/CLAccessor.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/tests/CL/CLAccessor.h b/tests/CL/CLAccessor.h
index 2f955653c8..9e7b73f34f 100644
--- a/tests/CL/CLAccessor.h
+++ b/tests/CL/CLAccessor.h
@@ -52,15 +52,16 @@ public:
/** Destructor that unmaps the CL memory. */
~CLAccessor();
- TensorShape shape() const override;
- size_t element_size() const override;
- size_t size() const override;
- Format format() const override;
- 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;
+ TensorShape shape() const override;
+ size_t element_size() const override;
+ size_t size() const override;
+ Format format() const override;
+ 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;
+ QuantizationInfo quantization_info() const override;
const void *operator()(const Coordinates &coord) const override;
void *operator()(const Coordinates &coord) override;
const void *data() const;
@@ -126,6 +127,11 @@ inline int CLAccessor::fixed_point_position() const
return _tensor.info()->fixed_point_position();
}
+inline QuantizationInfo CLAccessor::quantization_info() const
+{
+ return _tensor.info()->quantization_info();
+}
+
inline const void *CLAccessor::data() const
{
return _tensor.buffer();