aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreddie Liardet <frederick.liardet@arm.com>2021-11-25 16:19:28 +0000
committerFreddie Liardet <frederick.liardet@arm.com>2021-11-26 14:11:31 +0000
commitebefe5259631e201bb85b351ce2c6ccc2df7b3f9 (patch)
treea27c1aef0fc6f8d647e5f8f666dc75248b1c9969
parent4fb5670e579f9c0e1403a8fe179a11a2c9f3a02f (diff)
downloadComputeLibrary-ebefe5259631e201bb85b351ce2c6ccc2df7b3f9.tar.gz
Fix Cpu Conv3d gcc 8.3 build issues
Resolves: COMPMID-4986 Signed-off-by: Freddie Liardet <frederick.liardet@arm.com> Change-Id: I54b682d377f3bcfc57fec54113debc5e8a1d75df Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6745 Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--arm_compute/core/Size3D.h2
-rw-r--r--arm_compute/core/Types.h2
-rw-r--r--src/cpu/kernels/conv3d/neon/list.h2
-rw-r--r--src/cpu/kernels/conv3d/neon/quantized.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/core/Size3D.h b/arm_compute/core/Size3D.h
index 148bd17919..4241ed4f7e 100644
--- a/arm_compute/core/Size3D.h
+++ b/arm_compute/core/Size3D.h
@@ -40,7 +40,7 @@ public:
* @param[in] h Height of the 3D shape or object
* @param[in] d Depth of the 3D shape or object
*/
- Size3D(size_t w, size_t h, size_t d)
+ Size3D(size_t w, size_t h, size_t d) noexcept
: width(w), height(h), depth(d)
{
}
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 47df44cb67..9615811349 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -772,7 +772,7 @@ private:
/** Padding information for 3D operations like Conv3d */
struct Padding3D
{
- Padding3D()
+ Padding3D() noexcept
{
}
diff --git a/src/cpu/kernels/conv3d/neon/list.h b/src/cpu/kernels/conv3d/neon/list.h
index 3e2db664d7..3bfa124dc3 100644
--- a/src/cpu/kernels/conv3d/neon/list.h
+++ b/src/cpu/kernels/conv3d/neon/list.h
@@ -150,7 +150,7 @@ void directconv3d_float_neon_ndhwc(const ITensor *src0, const ITensor *src1, con
{
const auto src_vec = wrapper::vloadq(in_ptr_mover);
//Load Cin weights
- for(unsigned int k = 0; k < num_elems_read_per_iteration; ++k, weights_ptr_mover += index_c_out_end)
+ for(int k = 0; k < num_elems_read_per_iteration; ++k, weights_ptr_mover += index_c_out_end)
{
w_vec = wrapper::vsetlane(*weights_ptr_mover, w_vec, k);
}
diff --git a/src/cpu/kernels/conv3d/neon/quantized.h b/src/cpu/kernels/conv3d/neon/quantized.h
index cdbc45e207..a8165b4944 100644
--- a/src/cpu/kernels/conv3d/neon/quantized.h
+++ b/src/cpu/kernels/conv3d/neon/quantized.h
@@ -171,7 +171,7 @@ void directconv3d_quantized_neon_ndhwc(const ITensor *src0, const ITensor *src1,
{
const auto src_vec = wrapper::vloadq(in_ptr_mover);
//Load Cin weights
- for(unsigned int k = 0; k < num_elems_read_per_iteration; ++k, weights_ptr_mover += index_c_out_end)
+ for(int k = 0; k < num_elems_read_per_iteration; ++k, weights_ptr_mover += index_c_out_end)
{
w_vec = wrapper::vsetlane(*weights_ptr_mover, w_vec, k);
}