Vectorization Essentials, Random Number Function Vectorization
Beginning with the Intel Compiler version 13.0 random number auto- vectorization of the drand48 family of random number functions in C/C++ and RANF and Random_Number functions in Fortran is supported. Vectorization is supported through the Intel Short Vector Math Library (SVML).
Supported C/C++ Functions:
Simple Examples:
1. drand48 vectorization.
2. erand48 vectorization, seed value is passed as an argument.
3. lrand48 vectorization
4. nrand48 vectorization, seed value id passed as an argument.
5. mrand48 vectorization.
6. jrand48 vectorization, seed value is passed as an argument.
Fortran Support:
For Fortran we support:
NEXT STEPS
It is essential that you read this guide from start to finish using the built-in hyperlinks to guide you along a path to a successful port and tuning of your application(s) on Intel® architecture. The paths provided in this guide reflect the steps necessary to get best possible application performance.
Back the main chapter Vectorization Essentials.