aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2022-09-06 15:06:40 +0100
committerGian Marco Iodice <gianmarco.iodice@arm.com>2022-09-09 09:51:10 +0000
commit4478e1cb2d7be9190147be597c3cfbf4c6f99f09 (patch)
tree3a60b5d73205327a178c1204b828e165fea49c5f /tests/datasets
parent0eed305680ade0c48d07f592c4c4a8aaaad077b7 (diff)
downloadComputeLibrary-4478e1cb2d7be9190147be597c3cfbf4c6f99f09.tar.gz
Rework heuristic in ClConv2d
The heuristic has been tweaked to call direct convolution when we think it can be faster than gemm-based convolution. The main change is affecting the selection of the convolution method on the first layer. In general, the question we should ask for the first convolution layer of a model is: when the execution time of im2col + gemm < direct?. Since im2col does not depend on the OFM, it means that when OFM is big enough, the contribution of im2col is small and the GEMM approach is preferable. From internal experiments, the OFM threshold is 64. Resolves COMPMID-5504, COMPMID-5504, COMPMID-5477 Change-Id: If1bd1fa93c185ffa874388e29866244e62ca3494 Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8231 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/datasets')
0 files changed, 0 insertions, 0 deletions