Last change
on this file since 4024 was 3602, checked in by cmv, 16 years ago |
RandomGeneratorInterface + dSFMT etc..., cmv 28/04/2009
|
File size:
605 bytes
|
Line | |
---|
1 | #ifndef DSFMTWRAP_H_SEEN
|
---|
2 | #define DSFMTWRAP_H_SEEN
|
---|
3 |
|
---|
4 | // Fichier include d'enrobage pour flags et definition du generateur
|
---|
5 | // SIMD-oriented Fast Mersenne Twister (SFMT).
|
---|
6 | // http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
|
---|
7 |
|
---|
8 | // Definir les flags en fonction des architectures ...
|
---|
9 | // Choix de la periode du generateur
|
---|
10 | //#define DSFMT_MEXP 521
|
---|
11 | #define DSFMT_MEXP 19937
|
---|
12 |
|
---|
13 | // Si on veut generer les instructions SSE2, :
|
---|
14 | // Streaming SIMD Extensions 2, is one of the IA-32 SIMD (Single Instruction, Multiple Data)
|
---|
15 | #if defined(MACH_INTEL) || defined(MACH_AMD)
|
---|
16 | #define HAVE_SSE2 1
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.