diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-07-13 09:48:58 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 5376c4ca080ab404de5fa40a290142d47503771b (patch) | |
tree | 56564a79d587119cb2e8c17ea202053ec67f52bb | |
parent | 9452233e0322c4d2801dfedb5194acf7ff6d6af2 (diff) | |
download | ComputeLibrary-5376c4ca080ab404de5fa40a290142d47503771b.tar.gz |
COMPMID-1399: In ITensor::copy_from, line_size contains twice num_channels
element_size = data_type_size * num_channels
line_size = element_size * dimension[0] * num_channels
Change-Id: I72dd2ed7ee1f461f86232955c11e002a706cc89a
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139833
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
-rw-r--r-- | src/core/ITensor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ITensor.cpp b/src/core/ITensor.cpp index eb5f072d82..3dffcd016d 100644 --- a/src/core/ITensor.cpp +++ b/src/core/ITensor.cpp @@ -62,7 +62,7 @@ void ITensor::copy_from(const ITensor &src) Iterator src_it(&src, win_src); Iterator dst_it(this, win_dst); - const size_t line_size = src_info->num_channels() * src_info->element_size() * src_info->dimension(0); + const size_t line_size = src_info->element_size() * src_info->dimension(0); execute_window_loop(win_src, [&](const Coordinates & id) { |