hipstreamcreatewithflags Interface Reference

hipstreamcreatewithflags Interface Reference#

HIPFORT API Reference: hipfort::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.

[in,out]streamPointer to new stream
[in]flagsto control stream creation.
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(c_int), value  flags 

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