For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo struct
StreamPriorityRange
struct StreamPriorityRange
Represents the range of valid stream priorities for a GPU device.
Stream priorities control the scheduling of GPU operations, with higher priority streams being executed preferentially over lower priority streams.
Fieldsβ
- βleast (
Int): The lowest (numerically smallest) priority value. - βgreatest (
Int): The highest (numerically largest) priority value.
Implemented traitsβ
AnyType,
Copyable,
Deinitable,
ImplicitlyCopyable,
Movable,
RegisterPassable,
TrivialRegisterPassable,
Writable
Methodsβ
write_toβ
def write_to(self, mut writer: T)
Writes the stream priority range to the given writer.
Args:
- βwriter (
T): The writer to output the stream priority range to.