diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-02-05 19:04:25 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:47:18 +0000 |
commit | 4e1e7dcd581adecd5ad9c0f9503fc3c43f8222ef (patch) | |
tree | 4e4dc42b57448c240cf8d7c9ef6ca7ebed827fa8 /tests/benchmark/fixtures | |
parent | 6232d04ff2afafba1171f61c164fa891471894a9 (diff) | |
download | ComputeLibrary-4e1e7dcd581adecd5ad9c0f9503fc3c43f8222ef.tar.gz |
COMPMID-892: OCLGrind failures on both validation and benchmark
-Adds quantization info to the ActivationLayer benchmark fixture
-Replaces clamp with convert_sat in depthwise conv kernel
-Fixes ROIPooling execution slice
Change-Id: Ie9bbe08abcfb8278456964e476b0948247c7ecba
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118957
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'tests/benchmark/fixtures')
-rw-r--r-- | tests/benchmark/fixtures/ActivationLayerFixture.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/benchmark/fixtures/ActivationLayerFixture.h b/tests/benchmark/fixtures/ActivationLayerFixture.h index 8558527ad1..cb8fa7f086 100644 --- a/tests/benchmark/fixtures/ActivationLayerFixture.h +++ b/tests/benchmark/fixtures/ActivationLayerFixture.h @@ -46,9 +46,10 @@ public: shape.set(shape.num_dimensions(), batches); // Create tensors - const int fixed_point_position = 4; - src = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position); - dst = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position); + const int fixed_point_position = 4; + const QuantizationInfo q_info(0.5f, -10); + src = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position, q_info); + dst = create_tensor<TensorType>(shape, data_type, 1, fixed_point_position, q_info); // Create and configure function act_layer.configure(&src, &dst, info); |