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