Messages in this thread | | | From | Omer Shpigelman <> | Subject | RE: [PATCH 6/7] habanalabs: align armcp_packet structure to 8 bytes | Date | Thu, 18 Jun 2020 10:58:23 +0000 |
| |
On Tue, Jun 13, 2020 at 09:13 AM, Oded Gabbay <oded.gabbay@gmail.com> wrote: > Once there is a 64-bit field in a structure, GCC compiler for ARM aligns the > structure to 8 bytes. In order to avoid confusion when these structures are > being passed between CPUs from different architectures, we explicitly align > the structure to 8 bytes. > > Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
| |