From 2ec6163cdbd274ec9207a7b4ee6e144f93440b4f Mon Sep 17 00:00:00 2001 From: Adnan AlSinan Date: Thu, 16 Sep 2021 11:49:35 +0100 Subject: 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 Change-Id: Ief0ed3658a656cf271c947bc59c5858b34985337 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6277 Reviewed-by: Giorgio Arena Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- tests/validation/reference/Conv3D.cpp | 1 + 1 file changed, 1 insertion(+) 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 conv3d(const SimpleTensor &src, const SimpleTensor &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. -- cgit v1.2.1