Developer Reference

  • 0.9
  • 09/09/2020
  • Public Content
Contents

vslRegisterBrng

Registers user-defined basic generator.

Syntax

brng
=
vslRegisterBrng
(
&properties
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
properties
const VSLBRngProperties*
Pointer to the structure containing properties of the basic generator to be registered
Output Parameters
Name
Type
Description
brng
int
Number (index) of the registered basic generator; used for identification. Negative values indicate the registration error.
Description
An example of a registration procedure can be found in the respective directory of the VS examples.
Return Values
VSL_ERROR_OK
,
VSL_STATUS_OK
Indicates no error, execution is successful.
VSL_RNG_ERROR_BRNG_TABLE_FULL
Registration cannot be completed due to lack of free entries in the table of registered BRNGs.
VSL_RNG_ERROR_BAD_STREAM_STATE_SIZE
Bad value in
StreamStateSize
field.
VSL_RNG_ERROR_BAD_WORD_SIZE
Bad value in
WordSize
field.
VSL_RNG_ERROR_BAD_NSEEDS
Bad value in
NSeeds
field.
VSL_RNG_ERROR_BAD_NBITS
Bad value in
NBits
field.
VSL_ERROR_NULL_PTR
At least one of the fields
iBrng
,
dBrng
,
sBrng
or
InitStream
is a
NULL
pointer.

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