diff options
author | Adnan AlSinan <adnan.alsinan@arm.com> | 2023-10-03 15:15:41 +0100 |
---|---|---|
committer | Jakub Sujak <jakub.sujak@arm.com> | 2023-10-03 18:43:08 +0000 |
commit | 0a99c7953027c17d686f8f012495a7e4d8a969cf (patch) | |
tree | 3bbeec3c007dc2d7a23b1f9d2707d1b31c1cbb0f /tests/validation/fixtures/ReverseFixture.h | |
parent | ebce28017403c3b97c2941ee4a42fcc9a94e4f0a (diff) | |
download | ComputeLibrary-0a99c7953027c17d686f8f012495a7e4d8a969cf.tar.gz |
Fix nightly NEON Reverse reference failure
- Fix the reference axis vector to be the right size.
- Update typos in the error messages.
Resolves COMPMID-6574
Signed-off-by: Adnan AlSinan <adnan.alsinan@arm.com>
Change-Id: I9572365b8173b92d0fffd557e4db261b2969109c
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10423
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Diffstat (limited to 'tests/validation/fixtures/ReverseFixture.h')
-rw-r--r-- | tests/validation/fixtures/ReverseFixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/validation/fixtures/ReverseFixture.h b/tests/validation/fixtures/ReverseFixture.h index 7518a0926a..3bf4c3e327 100644 --- a/tests/validation/fixtures/ReverseFixture.h +++ b/tests/validation/fixtures/ReverseFixture.h @@ -152,7 +152,7 @@ protected: // Fill reference fill(src); auto axis_v = generate_random_axis(use_negative_axis); - std::copy(axis_v.begin(), axis_v.begin() + axis_shape.x(), axis.data()); + std::copy(axis_v.begin(), axis_v.begin() + _num_dims, axis.data()); return reference::reverse<T>(src, axis, use_inverted_axis); } |