diff options
author | Jakub Sujak <jakub.sujak@arm.com> | 2023-10-30 16:04:51 +0000 |
---|---|---|
committer | Jakub Sujak <jakub.sujak@arm.com> | 2023-10-31 13:34:56 +0000 |
commit | 8f4b3df4c59c7b1c3fbea5b559862fcefeba14bf (patch) | |
tree | cfb2102a541bb3bff2310e15561c2ae670fd4810 /tests/validation/fixtures/DirectConvolution3DFixture.h | |
parent | 93a77cd48609277a3849269c4cea5bf4b1ceb76a (diff) | |
download | ComputeLibrary-8f4b3df4c59c7b1c3fbea5b559862fcefeba14bf.tar.gz |
Fix clang-tidy errors
Resolve the following clang-tidy errors:
* use of undeclared identifier 'ARM_COMPUTE_ASSERT'
* no template named 'AbsoluteTolerance'
* no template named 'RelativeTolerance'
These errors are a result of missing include headers in test fixtures.
Resolves: COMPMID-6604
Change-Id: I8058c5848bb52a44925b2f99c9e8edf84dc79acc
Signed-off-by: Jakub Sujak <jakub.sujak@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10561
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/fixtures/DirectConvolution3DFixture.h')
-rw-r--r-- | tests/validation/fixtures/DirectConvolution3DFixture.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/validation/fixtures/DirectConvolution3DFixture.h b/tests/validation/fixtures/DirectConvolution3DFixture.h index 6aad5490d9..e80ad2f54f 100644 --- a/tests/validation/fixtures/DirectConvolution3DFixture.h +++ b/tests/validation/fixtures/DirectConvolution3DFixture.h @@ -21,7 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ + +#ifndef ACL_TESTS_VALIDATION_FIXTURES_DIRECTCONVOLUTION3DFIXTURE_H +#define ACL_TESTS_VALIDATION_FIXTURES_DIRECTCONVOLUTION3DFIXTURE_H + #include "arm_compute/core/utils/misc/ShapeCalculator.h" +#include "tests/framework/Asserts.h" // Required for ARM_COMPUTE_ASSERT #include "tests/framework/Fixture.h" #include "tests/validation/reference/ActivationLayer.h" #include "tests/validation/reference/Conv3D.h" @@ -180,3 +185,5 @@ public: } // namespace validation } // namespace test } // namespace arm_compute + +#endif // ACL_TESTS_VALIDATION_FIXTURES_DIRECTCONVOLUTION3DFIXTURE_H |