Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
695 Discussions

Confusing descriptions in the OpenCL Best Practice Manual on data alignment

DongWang-BJTU
New Contributor I
1,007 Views

Section 3.5 of the Best Practice manual:

1) For mystruct2, it is first said that the struct is 4-byte aligned, and then it is said the struct is not align in the following sentence. What does it mean ?

11111.PNG

 

2) There is no mystruct4 in the figure

222222.PNG

 

 

 

 

 

0 Kudos
2 Replies
MEIYAN_L_Intel
Employee
827 Views

Hi,

For your first question, we will need time to look into this. The explanation might be not clear enough.

 

For your second question, we will fixed documentation as the mentioned above.

 

Thanks.

0 Kudos
MEIYAN_L_Intel
Employee
827 Views

Hi,

I had review the document and there is a mistake in the document. With the extra padding, the struct is aligned.

Thanks

0 Kudos
Reply