diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2022-05-06 17:06:21 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2022-05-09 15:04:07 +0000 |
commit | 06adbc56e9c4a7947e6bc843da6687b3ff357de4 (patch) | |
tree | b95974a8f145a4dbe6a2067bf5ed739ed7bf8867 /src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h | |
parent | b63b1196adea8b07dd8db77c2492a212650deba0 (diff) | |
download | ComputeLibrary-06adbc56e9c4a7947e6bc843da6687b3ff357de4.tar.gz |
Mismatches in dynamically fused direct conv2d + add kernel
Resolves: COMPMID-5269
Change-Id: I4372ea4365d14ead79153e4b08b690a1e20ab0b7
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7531
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h')
-rw-r--r-- | src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h b/src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h index 17437c285d..9923b7ab90 100644 --- a/src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h +++ b/src/core/experimental/dynamic_fusion/ClKernelBuildingImpl/Common.h @@ -857,15 +857,13 @@ private: { auto dst_info = get_kernel_argument_info(_dst_id); auto dst_w = dst_info->dimension(0); - auto dst_h = dst_info->dimension(1); const auto tile_w = std::max(1, get_execution_window().x().step()); const auto tile_h = std::max(1, get_execution_window().y().step()); auto leftover_w = dst_w % tile_w; - auto leftover_h = dst_h % tile_h; std::string code = ""; code += std::string(" int cout = GET_SPATIAL_IDX(0, ") + std::to_string(tile_w) + ", " + std::to_string(leftover_w) + ");\n"; - code += std::string(" int mout = GET_SPATIAL_IDX(1, ") + std::to_string(tile_h) + ", " + std::to_string(leftover_h) + ");\n"; + code += std::string(" int mout = GET_SPATIAL_IDX(1, ") + std::to_string(tile_h) + ", " + "0);\n"; code += std::string(" int bout = GET_SPATIAL_IDX(2, 1, 0);\n\n"); switch(_tile_info.clipping) |