Developer Reference

Contents

Service Routines

Stream handling comprises routines for creating, deleting, or copying the streams and getting the index of a basic generator. A random stream can also be saved to and then read from a binary file. Table
"Service Routines"
lists all available service routines
Service Routines
Routine
Short Description
Creates and initializes a random stream.
Creates and initializes a random stream for the generators with multiple initial conditions.
Creates and initializes an abstract random stream for integer arrays.
Creates and initializes an abstract random stream for double precision floating-point arrays.
Creates and initializes an abstract random stream for single precision floating-point arrays.
Deletes previously created stream.
Copies a stream to another stream.
Creates a copy of a random stream state.
Writes a stream to a binary file.
Reads a stream from a binary file.
Writes a random stream descriptive data, including state, to a memory buffer.
Creates a new stream and reads stream descriptive data, including state, from the memory buffer.
Computes size of memory necessary to hold the random stream.
Initializes the stream by the leapfrog method to generate a subsequence of the original sequence.
Initializes the stream by the skip-ahead method.
Initializes the stream by the advanced skip-ahead method.
Obtains the index of the basic generator responsible for the generation of a given random stream.
Obtains the number of currently registered basic generators.
Most of the generator-based work comprises three basic steps:
  1. Generating random numbers with given distribution, see Distribution Generators .
  2. Deleting the stream (
    vslDeleteStream
    ).
Note that you can concurrently create multiple streams and obtain random data from one or several generators by using the stream state. You must use the
vslDeleteStream
function to delete all the streams afterwards.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804