hipdevicegetstreampriorityrange Interface Reference

hipdevicegetstreampriorityrange Interface Reference#

hipFORT API Reference: hipfort::hipdevicegetstreampriorityrange Interface Reference
hipfort::hipdevicegetstreampriorityrange Interface Reference

Returns numerical values that correspond to the least and greatest stream priority. More...

Public Member Functions

integer(c_int) function hipdevicegetstreampriorityrange_ (leastpriority, greatestpriority)
 
integer(kind(hipsuccess)) function hipdevicegetstreampriorityrange_typed (leastpriority, greatestpriority)
 

Detailed Description

Returns numerical values that correspond to the least and greatest stream priority.

Parameters
[in,out]leastPriority- Pointer in which a value corresponding to least priority is returned.
[in,out]greatestPriority- Pointer in which a value corresponding to greatest priority. Stream priority is disabled at this time.
Returns
hipSuccess

Returns in *leastPriority and *greatestPriority the numerical values that correspond to the least and greatest stream priority respectively. Stream priorities follow a convention where lower numbers imply greater priorities. The range of meaningful stream priorities is given by [*leastPriority,*greatestPriority]. If the user attempts to create a stream with a priority value that is outside the meaningful range as specified by this API, the priority is automatically clamped to within the valid range.

Warning
Stream priority is currently disabled to avoid queue-priority-related issues in KFD.

Member Function/Subroutine Documentation

◆ hipdevicegetstreampriorityrange_()

integer(c_int) function hipfort::hipdevicegetstreampriorityrange::hipdevicegetstreampriorityrange_ ( type(c_ptr), value  leastpriority,
type(c_ptr), value  greatestpriority 
)

◆ hipdevicegetstreampriorityrange_typed()

integer(kind(hipsuccess)) function hipfort::hipdevicegetstreampriorityrange::hipdevicegetstreampriorityrange_typed ( integer(c_int), target  leastpriority,
integer(c_int), target  greatestpriority 
)

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