This forum has been archived. All content is frozen. Please use KDE Discuss instead.

rand() SSE support

Tags: None
(comma "," separated)
manuels
Registered Member
Posts
47
Karma
0

rand() SSE support

Mon Nov 15, 2010 12:02 pm
Hi,

I had a look at the source code of Eigen and found out, that it lacks SSE support for Matrix::Random().
If anybody is interested: I just want to note that there is a SSE random number generator presented by intel:
http://software.intel.com/en-us/article ... processor/

Cheers,

Manuel
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: rand() SSE support

Mon Nov 15, 2010 10:08 pm
ok, thanks for the link, though I'm not really interested to include it myself, but if someone want to, then why not.
Andre
Registered Member
Posts
90
Karma
1

Re: rand() SSE support

Tue Nov 16, 2010 10:38 am
As benoit noted here viewtopic.php?f=74&t=90829#p173575 pseudo-random number generators are not a focus of Eigen at all. If one is to be implemented, I would suggest using a SIMD-oriented Fast Mersenne Twister, though.


'And all those exclamation marks, you notice? Five? A sure sign of someone who wears his underpants on his head.' ~Terry Pratchett

'It's funny. All you have to do is say something nobody understands and they'll do practically anything you want them to.' ~J.D. Salinger
manuels
Registered Member
Posts
47
Karma
0

Re: rand() SSE support

Wed Nov 17, 2010 10:01 am
A question to the developers:
Does that mean, that you won't write an optimized pseudo-random number generator yourself, but patches are welcome and would be accepted; or does that mean that even if you would get such a patch, you would not accept it because you don't want to increase the lines of the source code for that?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient