hipstreamsetattribute Interface Reference

hipstreamsetattribute Interface Reference#

HIPFORT API Reference: hipfort::hipstreamsetattribute Interface Reference
hipfort::hipstreamsetattribute Interface Reference

Sets stream attribute. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamsetattribute_ (stream, attr, myvalue)
 

Detailed Description

Sets stream attribute.

Updated attribute is applied to work submitted to the stream.

Parameters
[in]stream- Stream to set attributes to
[in]attr- Attribute ID for the attribute to set
[in]myValue- Attribute value for the attribute to set
Returns
hipSuccess, hipErrorInvalidValue, hipErrorInvalidResourceHandle

Member Function/Subroutine Documentation

◆ hipstreamsetattribute_()

integer(kind(hipsuccess)) function hipfort::hipstreamsetattribute::hipstreamsetattribute_ ( type(c_ptr), value  stream,
integer(kind(hiplaunchattributeaccesspolicywindow)), value  attr,
type(c_ptr), value  myvalue 
)

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