From fd83be4e77be5421f6d191d0ca36bfb63b2bc543 Mon Sep 17 00:00:00 2001 From: Laurent THOMAS Date: Mon, 4 Nov 2024 16:07:26 +0100 Subject: [PATCH] change the alignment of OAI mutli-dim arrays from 16 to 32 bytes --- openair1/PHY/TOOLS/tools_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair1/PHY/TOOLS/tools_defs.h b/openair1/PHY/TOOLS/tools_defs.h index 279cfd0e51..772dd54e8b 100644 --- a/openair1/PHY/TOOLS/tools_defs.h +++ b/openair1/PHY/TOOLS/tools_defs.h @@ -90,7 +90,7 @@ extern "C" { int dim2; int dim3; int dim4; - uint8_t data[]; + uint8_t data[] __attribute__((aligned(32))); } fourDimArray_t; static inline fourDimArray_t *allocateFourDimArray(int elmtSz, int dim1, int dim2, int dim3, int dim4)