Why is it so?

Why is it so?

int stepMCU2,stepMCU;
Ipp16s* pDstMCU[3];
pDstMCU[0]=ippiMalloc_16s_C1(16,8,&stepMCU2);

pDstMCU[1]=ippiMalloc_16s_C1(8,8,&stepMCU);

Why does 'stepMCU2' and 'stepMCU' both become 32?
I think 'stepMCU' should be 16(8*2=16).

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

According IPP manual, ippMalloc use alignment to 32 byte boundary

Vladimir

I see,thanks!!

Leave a Comment

Please sign in to add a comment. Not a member? Join today