Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Creates a copy of a random stream.
status = vslcopystream( newstream, srcstream )
Name |
Type |
Description |
---|---|---|
srcstream |
TYPE(VSL_STREAM_STATE), INTENT(IN) |
Descriptor of the stream to be copied |
Name |
Type |
Description |
---|---|---|
newstream |
TYPE(VSL_STREAM_STATE), INTENT(OUT) |
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.