diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-07-02 09:13:49 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | 014333d73883c3872e458cedda5ccef586a7ccd4 (patch) | |
tree | 0f28bbc1ab769993af91b40e4584061f6ed6d3fa /tests/validation/CL/DepthConvertLayer.cpp | |
parent | de01468bbfff3a7d8bcbba3bfdf5698fb2e3b267 (diff) | |
download | ComputeLibrary-014333d73883c3872e458cedda5ccef586a7ccd4.tar.gz |
COMPMID-970 : Remove QS8 / QS16 support
Removed Fixed point position arguments from test sources
Change-Id: I8343724723b71611fd501ed34de0866d3fb60e7e
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136382
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/CL/DepthConvertLayer.cpp')
-rw-r--r-- | tests/validation/CL/DepthConvertLayer.cpp | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/tests/validation/CL/DepthConvertLayer.cpp b/tests/validation/CL/DepthConvertLayer.cpp index c6e9f75a59..ed1f54ca6e 100644 --- a/tests/validation/CL/DepthConvertLayer.cpp +++ b/tests/validation/CL/DepthConvertLayer.cpp @@ -67,19 +67,15 @@ template <typename T> using CLDepthConvertLayerToU8Fixture = DepthConvertLayerValidationFixture<CLTensor, CLAccessor, CLDepthConvertLayer, T, uint8_t>; template <typename T> using CLDepthConvertLayerToU32Fixture = DepthConvertLayerValidationFixture<CLTensor, CLAccessor, CLDepthConvertLayer, T, uint32_t>; -template <typename T> -using CLDepthConvertLayerToFP32FixedPointFixture = DepthConvertLayerValidationFractionalBitsFixture<CLTensor, CLAccessor, CLDepthConvertLayer, T, float>; TEST_SUITE(U8_to_U16) DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(framework::dataset::concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("ConvertPolicy", { ConvertPolicy::SATURATE, ConvertPolicy::WRAP })), DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::U16, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::U16, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -117,11 +113,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::S16, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::S16, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -158,11 +152,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::S32, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::U8, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::S32, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -200,11 +192,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::U16, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::U8, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::U16, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::U8, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -241,11 +231,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::U16, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::U32, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::U16, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::U32, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -282,11 +270,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::S16, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::U8, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::S16, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::U8, 1); // Create and Configure function CLDepthConvertLayer depth_convert; @@ -323,11 +309,9 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(frame DepthConvertLayerShiftDataset), shape, policy, shift) { - int fixed_point_position = 0; - // Create tensors - CLTensor src = create_tensor<CLTensor>(shape, DataType::S16, 1, fixed_point_position); - CLTensor dst = create_tensor<CLTensor>(shape, DataType::S32, 1, fixed_point_position); + CLTensor src = create_tensor<CLTensor>(shape, DataType::S16, 1); + CLTensor dst = create_tensor<CLTensor>(shape, DataType::S32, 1); // Create and Configure function CLDepthConvertLayer depth_convert; |