This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

rocsparse_get_stream Interface Reference

rocsparse_get_stream Interface Reference#

HIPFORT API Reference: hipfort_rocsparse::rocsparse_get_stream Interface Reference
hipfort_rocsparse::rocsparse_get_stream Interface Reference

Get current stream from library context. More...

Public Member Functions

integer(kind(rocsparse_status_success)) function rocsparse_get_stream_ (handle, stream)
 

Detailed Description

Get current stream from library context.

rocsparse_get_stream gets the rocSPARSE library context stream which is currently used for all subsequent function calls.

Parameters
[in]handlethe handle to the rocSPARSE library context.
[out]streamthe stream currently used by the rocSPARSE library context.
Return values
rocsparse_status_successthe operation completed successfully.
rocsparse_status_invalid_handlehandle is invalid.

Member Function/Subroutine Documentation

◆ rocsparse_get_stream_()

integer(kind(rocsparse_status_success)) function hipfort_rocsparse::rocsparse_get_stream::rocsparse_get_stream_ ( type(c_ptr), value  handle,
type(c_ptr)  stream 
)

The documentation for this interface was generated from the following file: