Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

travel1

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-12-2013
03:54 PM

22 Views

Normal random numbers

Three options for method:

VSL_RNG_METHOD_GAUSSIAN_BOXMULLER

VSL_RNG_METHOD_GAUSSIAN_BOXMULLER2

VSL_RNG_METHOD_GAUSSIAN_ICDF

How they differ in precision and speed?

3 Replies

Highlighted
##

Noah_C_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-12-2013
05:01 PM

22 Views

Hi, the following resource can explain things in far greater detail than I can through the forum!

http://software.intel.com/sites/products/documentation/hpc/mkl/vslnotes/vslnotes.pdf

Here is also an excellent resource for performance on the options you listed

http://software.intel.com/sites/products/documentation/hpc/mkl/vsl/vsl_performance_data.htm

Please let me know if you have any further questions after checking this out.

Highlighted
##

Hi! Thank you for the response. I understand how they are different in formulas and speed. According to tables VSL_RNG_METHOD_GAUSSIAN_ICDF - is fastest, however it requires evaluation of inverse of Laplace integral. How precise is this calculation? Do you know the precision for different methods? What should I use?

travel1

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-12-2013
05:32 PM

22 Views

Highlighted
##

Andrey_N_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-15-2013
10:01 AM

22 Views

Hi Alexander,

The approximations which we use in Intel(R) MKL RNGs are sufficent for Monte Carlo simulations where statistical error dominates. This is confirmed by the extensive statistical testing whose details are described in VSL Notes available at http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/vslnotes/index.htm. Inverse method might be the choice for your applications.

Andrey

For more complete information about compiler optimizations, see our Optimization Notice.