This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

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(kind(hipsuccess)) function hipdevicegetstreampriorityrange_ (leastPriority, greatestPriority)
 

Detailed Description

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

Parameters
[in,out]leastPrioritypointer in which value corresponding to least priority is returned.
[in,out]greatestPrioritypointer in which value corresponding to greatest priority is returned.

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 [*greatestPriority, *leastPriority]. If the user attempts to create a stream with a priority value that is outside the the meaningful range as specified by this API, the priority is automatically clamped to within the valid range.

Member Function/Subroutine Documentation

◆ hipdevicegetstreampriorityrange_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetstreampriorityrange::hipdevicegetstreampriorityrange_ ( type(c_ptr), value  leastPriority,
type(c_ptr), value  greatestPriority 
)

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