diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2022-02-08 10:58:56 +0000 |
---|---|---|
committer | Adnan AlSinan <adnan.alsinan@arm.com> | 2022-02-11 11:36:11 +0000 |
commit | a88c5b7563cd639cc9ccb9870fd99b107e7731c4 (patch) | |
tree | 6f7630bbf3680b6a314517b59b5286ec5875226f /src/gpu/cl | |
parent | dbf66147481e1b7d878eb161ce92439b218404e3 (diff) | |
download | ComputeLibrary-a88c5b7563cd639cc9ccb9870fd99b107e7731c4.tar.gz |
Fix performance regression on the first layer of convolution-based model
Change-Id: Ia6d7282ee0c91c14dc71505a9f72f7d412d12055
Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7088
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Diffstat (limited to 'src/gpu/cl')
-rw-r--r-- | src/gpu/cl/operators/ClConv2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/cl/operators/ClConv2d.cpp b/src/gpu/cl/operators/ClConv2d.cpp index 3bb92de843..71f83780c5 100644 --- a/src/gpu/cl/operators/ClConv2d.cpp +++ b/src/gpu/cl/operators/ClConv2d.cpp @@ -271,7 +271,7 @@ ConvolutionMethod ClConv2d::get_convolution_method(const ITensorInfo *src, const // Direct convolution case if(is_direct_valid) { - if((is_large_kernel_sz && workload_gte_8192) || (is_ofm_lte_8 && is_ifm_ge_16)) + if((is_large_kernel_sz && workload_gte_8192 && is_ifm_ge_16) || (is_ofm_lte_8 && is_ifm_ge_16)) { return ConvolutionMethod::DIRECT; } |