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,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable,
Writable
Methods
write_to
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!