Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7034 Discussions

What is the best option of memory alignment for IA32??

yoo__jungmin
Beginner
328 Views

I need your help.

My application is running on IA32.  I use mkl_malloc(), but, I don't know exactl what  i should enter number is 32 or 64 for IA32.

I am wating your advice.

 

0 Kudos
1 Reply
Pamela_H_Intel
Moderator
328 Views

Jungmin,

A power of 2 is expected. 8 will work on a 32 bit machine. Default is 32 if you enter anything that is not a power of 2.

The alignment matters more when you are working with SSE or AVX, for performance reasons.

I hope that helps.

Pamela

0 Kudos
Reply