aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/ICLKernel.cpp
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-07-17 23:16:00 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit868e54102b1761577e7783c80b66e82896ee063c (patch)
tree8578c4fc3b44c867ae9c8529a3b21730a5ce14f3 /src/core/CL/ICLKernel.cpp
parent5cb4d6a1d0f39bf800edb43c0ec7c96dae10e132 (diff)
downloadComputeLibrary-868e54102b1761577e7783c80b66e82896ee063c.tar.gz
COMPMID-459 Collapse CL Im2col's higher dimensions
Change-Id: I0ccc39cbcf6926e6810faf3fe264c4af7adc3f7b Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83070 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/ICLKernel.cpp')
-rw-r--r--src/core/CL/ICLKernel.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/CL/ICLKernel.cpp b/src/core/CL/ICLKernel.cpp
index 5bd7142176..bace631549 100644
--- a/src/core/CL/ICLKernel.cpp
+++ b/src/core/CL/ICLKernel.cpp
@@ -122,6 +122,11 @@ void ICLKernel::add_3D_tensor_argument(unsigned int &idx, const ICLTensor *tenso
add_tensor_argument<3>(idx, tensor, window);
}
+void ICLKernel::add_4D_tensor_argument(unsigned int &idx, const ICLTensor *tensor, const Window &window)
+{
+ add_tensor_argument<4>(idx, tensor, window);
+}
+
unsigned int ICLKernel::num_arguments_per_1D_tensor() const
{
return num_arguments_per_tensor<1>();
@@ -137,6 +142,11 @@ unsigned int ICLKernel::num_arguments_per_3D_tensor() const
return num_arguments_per_tensor<3>();
}
+unsigned int ICLKernel::num_arguments_per_4D_tensor() const
+{
+ return num_arguments_per_tensor<4>();
+}
+
void ICLKernel::set_target(cl::Device &device)
{
_target = get_target_from_device(device);