hipstreamcreatewithflags Interface Reference#
hipfort::hipstreamcreatewithflags Interface Reference
Create an asynchronous stream. More...
Public Member Functions | |
integer(kind(hipsuccess)) function | hipstreamcreatewithflags_ (stream, flags) |
Detailed Description
Create an asynchronous stream.
- Parameters
-
[in,out] stream Pointer to new stream [in] flags to control stream creation.
- Returns
- #hipSuccess, #hipErrorInvalidValue
Create a new asynchronous stream. 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, hipStreamCreateWithPriority, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy
Member Function/Subroutine Documentation
◆ hipstreamcreatewithflags_()
integer(kind(hipsuccess)) function hipfort::hipstreamcreatewithflags::hipstreamcreatewithflags_ | ( | type(c_ptr) | stream, |
integer(kind=4), value | flags | ||
) |
The documentation for this interface was generated from the following file: