What's the k in AoSoA?

Hello, I have some trouble in understanding the format of AoSoA. From the introduction of pyfr data structure, I know that the memory arrangement of AoSoA is as shown in the figure.I guess the k in the picture corresponds to soasz on cuda platform, and its value is 32. Is that right?

Yes; if you look at:


Regards, Freddie.

1 Like

It seems this value equal to wrap size on cuda platform, so in hip platform this value should be 64?

Yes, although some (consumer grade) HIP devices have a size of 32, rather than 64.

Regards, Freddie.

Thank you very much!