Developer Reference

  • 2021.1
  • 12/04/2020
  • Public Content
Contents

vslGetStreamStateBrng

Returns index of a basic generator used for generation of a given random stream.

Syntax

brng
=
vslGetStreamStateBrng
(
stream
);
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
stream
const VSLStreamStatePtr
Pointer to the stream state structure
Output Parameters
Name
Type
Description
brng
int
Index of the basic generator assigned for the generation of
stream
; negative in case of an error
Description
The
vslGetStreamStateBrng
function retrieves the index of a basic generator used for generation of a given random stream.
Return Values
VSL_ERROR_NULL_PTR
stream
is a
NULL
pointer.
VSL_RNG_ERROR_BAD_STREAM
stream
is not a valid random stream.

Product and Performance Information

1

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