hipstreamcreatewithpriority Interface Reference#
hipfort::hipstreamcreatewithpriority Interface Reference
Creates an asynchronous stream with the specified priority. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipstreamcreatewithpriority_ (stream, flags, priority) |
Detailed Description
Creates an asynchronous stream with the specified priority.
- Parameters
-
[in,out] stream - Pointer to new stream [in] flags - Parameters to control stream creation [in] priority - Priority of the stream. Lower numbers represent higher priorities.
- Returns
hipSuccess,hipErrorInvalidValue
Creates a new asynchronous stream with the specified priority, with its associated current device. 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, application must call hipStreamDestroy.
The flags parameter controls behavior of the stream. The valid values are hipStreamDefault and hipStreamNonBlocking.
- See also
- hipStreamCreate, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy
Member Function/Subroutine Documentation
◆ hipstreamcreatewithpriority_()
| integer(kind(hipsuccess)) function hipfort::hipstreamcreatewithpriority::hipstreamcreatewithpriority_ | ( | type(c_ptr) | stream, |
| integer(c_int), value | flags, | ||
| integer(c_int), value | priority | ||
| ) |
The documentation for this interface was generated from the following file: