Intel® oneAPI Math Kernel Library Developer Reference - C
Creates a copy of a random stream.
status = vslCopyStream( &newstream, srcstream );
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.
Indicates no error, execution is successful.
srcstream parameter is a NULL pointer.
srcstream is not a valid random stream.
System cannot allocate memory for newstream.