Visible to Intel only — GUID: GUID-D447AF0C-8751-4911-87B2-5DFAE57D3B31
Visible to Intel only — GUID: GUID-D447AF0C-8751-4911-87B2-5DFAE57D3B31
vslSaveStreamM
Writes random stream descriptive data, including stream state, to a memory buffer.
errstatus = vslsavestreamm( stream, memptr )
- mkl.fi, mkl_vsl.f90
Name |
Type |
Description |
---|---|---|
stream |
TYPE(VSL_STREAM_STATE), INTENT(IN) |
Random stream to be written to the memory |
memptr |
INTEGER(KIND=1), DIMENSION(*), INTENT(IN) |
Memory buffer to save random stream descriptive data to |
Name |
Type |
Description |
---|---|---|
errstatus |
INTEGER |
Error status of the operation |
The vslSaveStreamM function writes the random stream descriptive data, including the stream state, to the memory at memptr. Random stream stream must be a valid stream created by vslNewStream-like or vslCopyStream-like service routines. The memptr parameter must be a valid pointer to the memory of size sufficient to hold the random stream stream. Use the service routine vslGetStreamSize to determine this amount of memory.
If the stream cannot be saved to the memory, errstatus has a non-zero value. The random stream can be read from the memory pointed by memptr using the vslLoadStreamM function.
- VSL_ERROR_OK, VSL_STATUS_OK
-
Indicates no error, execution is successful.
- VSL_ERROR_NULL_PTR
-
Either memptr or stream is a NULL pointer.
- VSL_RNG_ERROR_BAD_STREAM
-
stream is a NULL pointer.