hipstreamgetdevresource Interface Reference

hipstreamgetdevresource Interface Reference#

HIPFORT API Reference: hipfort::hipstreamgetdevresource Interface Reference
hipfort::hipstreamgetdevresource Interface Reference

Returns the device resource of a given type for a stream. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamgetdevresource_ (hstream, resource, mytype)
 

Detailed Description

Returns the device resource of a given type for a stream.

Parameters
[out]resource- Pointer to the structured device resource
[in]hStream- Stream to get resource for
[in]type- Type of resource
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceType, hipErrorInvalidHandle

Member Function/Subroutine Documentation

◆ hipstreamgetdevresource_()

integer(kind(hipsuccess)) function hipfort::hipstreamgetdevresource::hipstreamgetdevresource_ ( type(c_ptr), value  hstream,
type(hipdevresource resource,
integer(kind(hipdevresourcetypeinvalid)), value  mytype 
)

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