Software Archive
Read-only legacy content
17061 Discussions

mm512 random number generator intrinsics?

Patrick_S_
New Contributor I
473 Views

Hey all,

 

I have read in the FAQS that MKL has a random number generator included in the vector libraries.

Are there intrinsics for generating vector random numbers? or a small kernels that I could implement. I don't want to use MKL.

 

Thanks

Patrick 

0 Kudos
2 Replies
Sumedh_N_Intel
Employee
473 Views

Intel MIC Architecture C++ compiler should contain libirng.a library, which has Intel optimized version of the system rand48() generator family. The same generator is available on the Intel Xeon processors running Linux OS. There is no intrinsic for this generator. Intel MIC is  a many-core architecture which means use of RNGs in parallel mode. Intel MKL RNGs seems the suitable choice for this.

I am curious to know the reason for not wanting to use Intel MKL. 

 

0 Kudos
Patrick_S_
New Contributor I
473 Views

Ok, I think you are right. I should use MKL!

0 Kudos
Reply