hipstreamcreatewithpriority Interface Reference#
hipfort::hipstreamcreatewithpriority Interface Reference
Create an asynchronous stream with the specified priority. More...
Public Member Functions | |
integer(kind(hipsuccess)) function | hipstreamcreatewithpriority_ (stream, flags, priority) |
Detailed Description
Create an asynchronous stream with the specified priority.
- Parameters
-
[in,out] stream Pointer to new stream [in] flags to control stream creation. [in] priority of the stream. Lower numbers represent higher priorities.
- Returns
- #hipSuccess, #hipErrorInvalidValue
Create a new asynchronous stream with the specified priority. stream
returns an opaque handle that can be used to reference the newly created stream in subsequent hipStream commands. The stream is allocated on the heap and will remain allocated even if the handle goes out-of-scope. To release the memory used by the stream, applicaiton must call hipStreamDestroy. Flags controls behavior of the stream. See #hipStreamDefault, #hipStreamNonBlocking.
- See also
- hipStreamCreate, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy
Member Function/Subroutine Documentation
◆ hipstreamcreatewithpriority_()
integer(kind(hipsuccess)) function hipfort::hipstreamcreatewithpriority::hipstreamcreatewithpriority_ | ( | type(c_ptr) | stream, |
integer(kind=4), value | flags, | ||
integer(c_int), value | priority | ||
) |
The documentation for this interface was generated from the following file: