diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2020-10-22 14:29:50 +0100 |
---|---|---|
committer | Giorgio Arena <giorgio.arena@arm.com> | 2020-10-23 13:12:18 +0000 |
commit | 79acd77b9e737971f653cde640759670b27c673f (patch) | |
tree | 353cc0347d511bcff87dca2428d1db97eb171af4 /arm_compute | |
parent | 40192c1d1b092130dbb6773a56857f354bc7746a (diff) | |
download | ComputeLibrary-79acd77b9e737971f653cde640759670b27c673f.tar.gz |
COMPMID-3713 Remove OpenCL padding: CLDepthwiseConvolutionLayerNativeKernel
Signed-off-by: Giorgio Arena <giorgio.arena@arm.com>
Change-Id: Ic43aba8a6a0a106fc4c1f665ff5cc3ccb31f403d
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4235
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/Utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h index 590bdf93c0..681a1a708e 100644 --- a/arm_compute/core/Utils.h +++ b/arm_compute/core/Utils.h @@ -1351,7 +1351,7 @@ inline unsigned int adjust_vec_size(unsigned int vec_size, size_t dim0) { ARM_COMPUTE_ERROR_ON(vec_size > 16); - if(dim0 == 3) + if((vec_size >= dim0) && (dim0 == 3)) { return dim0; } |