hipstreamgetdevice Interface Reference

hipstreamgetdevice Interface Reference#

HIPFORT API Reference: hipfort::hipstreamgetdevice Interface Reference
hipfort::hipstreamgetdevice Interface Reference

Gets the device associated with the stream. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamgetdevice_ (stream, device)
 

Detailed Description

Gets the device associated with the stream.

Parameters
[in]stream- Stream to be queried
[out]device- Device associated with the stream
Returns
hipSuccess, hipErrorInvalidValue, hipErrorContextIsDestroyed, hipErrorInvalidHandle, hipErrorNotInitialized, hipErrorDeinitialized, hipErrorInvalidContext
See also
hipStreamCreate, hipStreamDestroy, hipDeviceGetStreamPriorityRange

Member Function/Subroutine Documentation

◆ hipstreamgetdevice_()

integer(kind(hipsuccess)) function hipfort::hipstreamgetdevice::hipstreamgetdevice_ ( type(c_ptr), value  stream,
integer(c_int)  device 
)

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