hipstreamcreate Interface Reference

hipstreamcreate Interface Reference#

HIPFORT API Reference: hipfort::hipstreamcreate Interface Reference
hipfort::hipstreamcreate Interface Reference

Create an asynchronous stream. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamcreate_ (stream)

Detailed Description

Create an asynchronous stream.

[in,out]streamValid pointer to hipStream_t. This function writes the memory with the newly created stream.
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.

hipSuccess, hipErrorInvalidValue
See also
hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipstreamcreate_()

integer(kind(hipsuccess)) function hipfort::hipstreamcreate::hipstreamcreate_ ( type(c_ptr)  stream)

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