Visible to Intel only — GUID: GUID-E9EDCF4C-5C27-43F0-AB3B-91530646F28F
Visible to Intel only — GUID: GUID-E9EDCF4C-5C27-43F0-AB3B-91530646F28F
vslCopyStream
Creates a copy of a random stream.
status = vslCopyStream( &newstream, srcstream );
- mkl.h
Name |
Type |
Description |
---|---|---|
srcstream |
const VSLStreamStatePtr |
Pointer to the stream state structure to be copied |
Name |
Type |
Description |
---|---|---|
newstream |
VSLStreamStatePtr* |
Copied random stream descriptor |
The function creates an exact copy of srcstream and stores its descriptor to newstream.
- VSL_ERROR_OK, VSL_STATUS_OK
-
Indicates no error, execution is successful.
- VSL_ERROR_NULL_PTR
-
srcstream parameter is a NULL pointer.
- VSL_RNG_ERROR_BAD_STREAM
-
srcstream is not a valid random stream.
- VSL_ERROR_MEM_FAILURE
-
System cannot allocate memory for newstream.