aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2020-10-13 17:00:06 +0100
committerSiCong Li <sicong.li@arm.com>2020-10-22 13:47:59 +0000
commit40192c1d1b092130dbb6773a56857f354bc7746a (patch)
treed25772310b78a43dc8e16102fd0dfaefff00817f /tests
parent410bca42f560c87d4860dc5ae7374437ded2cd76 (diff)
downloadComputeLibrary-40192c1d1b092130dbb6773a56857f354bc7746a.tar.gz
COMPMID-3708 Remove OpenCL padding: CLCopyKernel [Patch1]
* Remove padding only for when user-supplied padding is empty * Vectorize the case where output_window is not null and the output window is narrow in x (smaller than vec_size_x) Change-Id: I313089fe309e87e8529ecfd00542fcfa4dc44862 Signed-off-by: SiCong Li <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4193 Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/validation/CL/Copy.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/validation/CL/Copy.cpp b/tests/validation/CL/Copy.cpp
index 07af24352e..0b2a15146b 100644
--- a/tests/validation/CL/Copy.cpp
+++ b/tests/validation/CL/Copy.cpp
@@ -48,15 +48,13 @@ TEST_SUITE(Copy)
DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(
framework::dataset::make("InputInfo", { TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), // Invalid data type combination
TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), // Mismatching shapes
- TensorInfo(TensorShape(14U, 13U, 2U), 1, DataType::U8), // Window shrink
- TensorInfo(TensorShape(32U, 32U, 2U), 1, DataType::U8),
+ TensorInfo(TensorShape(14U, 13U, 2U), 1, DataType::U8),
}),
framework::dataset::make("OutputInfo",{ TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S16),
TensorInfo(TensorShape(32U, 11U, 2U), 1, DataType::U8),
TensorInfo(TensorShape(14U, 13U, 2U), 1, DataType::U8),
- TensorInfo(TensorShape(32U, 32U, 2U), 1, DataType::U8),
})),
- framework::dataset::make("Expected", { false, false, false, true })),
+ framework::dataset::make("Expected", { false, false, true })),
input_info, output_info, expected)
{
ARM_COMPUTE_EXPECT(bool(CLCopy::validate(&input_info.clone()->set_is_resizable(false), &output_info.clone()->set_is_resizable(false))) == expected, framework::LogLevel::ERRORS);