diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-05-18 17:11:16 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:52:54 +0000 |
commit | bc06f99c03ad73cf6033b5c9a848672e3e1c368d (patch) | |
tree | ca1c15e7b01c76323957400975c190aab6e47b1f /src/core/CL/cl_kernels/deconvolution_layer.cl | |
parent | 65f9982e99a6d9bea8084b7e15bc6c72ff535d8b (diff) | |
download | ComputeLibrary-bc06f99c03ad73cf6033b5c9a848672e3e1c368d.tar.gz |
COMPMID-959: Fix deconvolution window.
Change-Id: I791855edf6f821381ecb8ff0652fb14a5810d9d7
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131912
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/deconvolution_layer.cl')
-rw-r--r-- | src/core/CL/cl_kernels/deconvolution_layer.cl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/CL/cl_kernels/deconvolution_layer.cl b/src/core/CL/cl_kernels/deconvolution_layer.cl index 794f4aa950..e15482c1ba 100644 --- a/src/core/CL/cl_kernels/deconvolution_layer.cl +++ b/src/core/CL/cl_kernels/deconvolution_layer.cl @@ -30,20 +30,24 @@ * @param[in] src_step_x src_stride_x * number of elements along X processed per workitem(in bytes) * @param[in] src_stride_y Stride of the source image in Y dimension (in bytes) * @param[in] src_step_y src_stride_y * number of elements along Y processed per workitem(in bytes) + * @param[in] src_stride_z Stride of the source tensor in Z dimension (in bytes) + * @param[in] src_step_z src_stride_z * number of elements along Z processed per workitem(in bytes) * @param[in] src_offset_first_element_in_bytes The offset of the first element in the source image * @param[out] dst_ptr Pointer to the destination image. Supported data types: F16/F32 * @param[in] dst_stride_x Stride of the destination image in X dimension (in bytes) * @param[in] dst_step_x dst_stride_x * number of elements along X processed per workitem(in bytes) * @param[in] dst_stride_y Stride of the destination image in Y dimension (in bytes) * @param[in] dst_step_y dst_stride_y * number of elements along Y processed per workitem(in bytes) + * @param[in] dst_stride_z Stride of the source tensor in Z dimension (in bytes) + * @param[in] dst_step_z dst_stride_z * number of elements along Z processed per workitem(in bytes) * @param[in] dst_offset_first_element_in_bytes The offset of the first element in the destination image */ __kernel void deconvolution_upsample( - IMAGE_DECLARATION(src), - IMAGE_DECLARATION(dst)) + TENSOR3D_DECLARATION(src), + TENSOR3D_DECLARATION(dst)) { - Image src = CONVERT_TO_IMAGE_STRUCT(src); - Image dst = CONVERT_TO_IMAGE_STRUCT(dst); + Tensor3D src = CONVERT_TO_TENSOR3D_STRUCT(src); + Tensor3D dst = CONVERT_TO_TENSOR3D_STRUCT(dst); // Store result *((__global DATA_TYPE *)dst.ptr) = *((__global DATA_TYPE *)src.ptr); |