aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/reference/ConvertFullyConnectedWeights.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/reference/ConvertFullyConnectedWeights.cpp')
-rw-r--r--tests/validation/reference/ConvertFullyConnectedWeights.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/validation/reference/ConvertFullyConnectedWeights.cpp b/tests/validation/reference/ConvertFullyConnectedWeights.cpp
index 5925496f45..710644a4e5 100644
--- a/tests/validation/reference/ConvertFullyConnectedWeights.cpp
+++ b/tests/validation/reference/ConvertFullyConnectedWeights.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019 ARM Limited.
+ * Copyright (c) 2018-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -49,6 +49,9 @@ SimpleTensor<T> convert_fully_connected_weights(const SimpleTensor<T> &src, cons
const unsigned int factor_2 = is_nchw_to_nhwc ? num_channels : num_elems_per_input_plane;
const uint32_t num_elements = src.num_elements();
+#if defined(_OPENMP)
+ #pragma omp parallel for
+#endif /* _OPENMP */
for(uint32_t i = 0; i < num_elements; ++i)
{
const Coordinates coords_in = index2coords(src.shape(), i);