Developer Guide and Reference

  • 2021.2
  • 03/26/2021
  • Public Content
Contents

mcg59

The engine is based on the 59-bit multiplicative congruential generator.
Subsequence selection methods support
skipAhead (nskip)
Supported
leapfrog (threadIdx, nThreads)
Supported

Batch Processing

MCG59 engine needs the initial condition (
seed
) for state initialization. The seed can be either an integer scalar or a vector of
p
integer elements, the inputs to the respective engine constructors.
Algorithm Parameters
MCG59 engine has the following parameters:
Parameter
Default Value
Description
algorithmFPType
float
The floating-point type that the algorithm uses for intermediate computations. Can be
float
or
double
.
method
defaultDense
Performance-oriented computation method; the only method supported by the algorithm.
seed
  • 777
    for a scalar seed
  • NA for a vector seed
Initial condition for state initialization, scalar or vector:
  • Scalar, value of
    size_t
    type
  • Vector, pointer to
    HomogenNumericTable
    of size LaTex Math image.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.