diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2020-05-18 15:00:10 +0100 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2020-05-19 10:55:53 +0000 |
commit | 9329175a4d29f753b7b77b0bfdbec5438e174df2 (patch) | |
tree | d6e05785e78f9889beb965b90ed4d219359eeefc /tests | |
parent | aba2f912a21487776e540724cf354a6cd8d89829 (diff) | |
download | ComputeLibrary-9329175a4d29f753b7b77b0bfdbec5438e174df2.tar.gz |
COMPMID-3490 - Nightly fails: android armv7 microtask error
- Removing OpenMP from failing references
Change-Id: I3a90347dccf55fa22893b42b5236e45f15da19e3
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3219
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/validation/reference/ConvolutionLayer.cpp | 3 | ||||
-rw-r--r-- | tests/validation/reference/GEMM.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/validation/reference/ConvolutionLayer.cpp b/tests/validation/reference/ConvolutionLayer.cpp index aed976e5ee..9675901542 100644 --- a/tests/validation/reference/ConvolutionLayer.cpp +++ b/tests/validation/reference/ConvolutionLayer.cpp @@ -69,7 +69,8 @@ SimpleTensor<T> convolution_layer_nchw(const SimpleTensor<T> &src, const SimpleT const int end_xi = output_wh.first * stride_xi; const int end_yi = output_wh.second * stride_yi; const int num_batches = src.shape().total_size() / (width_in * height_in * depth_in); -#if defined(_OPENMP) + +#if defined(_OPENMP) && !( defined(__arm__) && defined(__ANDROID__)) #pragma omp parallel for collapse(5) #endif /* _OPENMP */ for(int r = 0; r < num_batches; ++r) diff --git a/tests/validation/reference/GEMM.cpp b/tests/validation/reference/GEMM.cpp index 20def87a64..63c7f53b48 100644 --- a/tests/validation/reference/GEMM.cpp +++ b/tests/validation/reference/GEMM.cpp @@ -56,7 +56,7 @@ SimpleTensor<T> gemm(const SimpleTensor<T> &a, const SimpleTensor<T> &b, const S const int c_stride_z = N * M; const int c_stride_w = N * M * D; -#if defined(_OPENMP) +#if defined(_OPENMP) && !( defined(__arm__) && defined(__ANDROID__)) #pragma omp parallel for collapse(2) #endif /* _OPENMP */ for(int w = 0; w < W; ++w) |