diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2018-08-15 16:53:27 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | d30714a9702140408cb0e313c07b278536bb0cf9 (patch) | |
tree | b345c505400d80ed41feaac231e7293bd12e2d02 /src/core/CL/kernels | |
parent | 1b65807d4d94ad67cd7490d7a002fe418efdadf6 (diff) | |
download | ComputeLibrary-d30714a9702140408cb0e313c07b278536bb0cf9.tar.gz |
COMPMID-1188 - Fix CLWinogradConvolutionLayer for NHWC
Change-Id: Ib4abe0388f218276e79f7c4405827e61722f0ef8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/144240
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels')
-rw-r--r-- | src/core/CL/kernels/CLWinogradInputTransformKernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLWinogradInputTransformKernel.cpp b/src/core/CL/kernels/CLWinogradInputTransformKernel.cpp index 2309fbfb26..c4e472ad0a 100644 --- a/src/core/CL/kernels/CLWinogradInputTransformKernel.cpp +++ b/src/core/CL/kernels/CLWinogradInputTransformKernel.cpp @@ -175,7 +175,7 @@ void CLWinogradInputTransformKernel::configure(const ICLTensor *input, ICLTensor const unsigned int tile_max_dim = std::max(output_tile_size.width, output_tile_size.height); // Check optimized kernel if output_dims == 2x2 - if(tile_max_dim == 2) + if((tile_max_dim == 2) && (input->info()->data_layout() == DataLayout::NCHW)) { _step_z = (_input->info()->dimension(2) % 2) != 0 ? 1 : 2; } |