aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdnan AlSinan <adnan.alsinan@arm.com>2021-09-16 11:49:35 +0100
committerAdnan AlSinan <adnan.alsinan@arm.com>2021-09-16 12:51:58 +0000
commit2ec6163cdbd274ec9207a7b4ee6e144f93440b4f (patch)
treef271e5a8d461303e4567ca14dc5ce069a5b27d32
parent9ac7b99106e24ab426d8a948dd5243defb753b32 (diff)
downloadComputeLibrary-2ec6163cdbd274ec9207a7b4ee6e144f93440b4f.tar.gz
Fix Build error with asserts=0
A recent nightly issue caused becuase some varaible were only used in asserts. Resloves COMPMID-4814 Signed-off-by: Adnan AlSinan <adnan.alsinan@arm.com> Change-Id: Ief0ed3658a656cf271c947bc59c5858b34985337 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6277 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--tests/validation/reference/Conv3D.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/validation/reference/Conv3D.cpp b/tests/validation/reference/Conv3D.cpp
index 6f9ce9e2ac..4b0f2b0930 100644
--- a/tests/validation/reference/Conv3D.cpp
+++ b/tests/validation/reference/Conv3D.cpp
@@ -125,6 +125,7 @@ SimpleTensor<T> conv3d(const SimpleTensor<T> &src, const SimpleTensor<T> &weight
const TensorShape dst_shape = arm_compute::misc::shape_calculator::compute_conv3d_shape(src.shape(), weights.shape(), conv3d_info);
+ ARM_COMPUTE_UNUSED(src_channels, weights_out_ch, dst_channels, dst_shape, weights_CHin_dim);
// Number of batches of source and destination tensors must match.
ARM_COMPUTE_ERROR_ON(src.shape()[batch_dim] != dst.shape()[batch_dim]);
// Input channels in the source and weights must match.