Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Base-aware ALU dispatcher.

Before an operation, the dispatcher inspects the denominator signatures of the operands to decide which channels are actually needed. When adding 1/6 + 1/4 the natural base involves only the primes {2, 3}; the channels for 5, 7, 11, … are idle. On a GPU, idle channels consume no power — so the dispatcher is the hardware analog of lazy evaluation: work happens only where the number’s arithmetic structure demands it.

Structs§

DispatchPlan
A plan describing which channels an operation needs.
Dispatcher
Routes operations to the minimal set of RNS channels.