A warp has 32 lanes, and VOTE, VOTEU, MATCH, SHFL, REDUX, LANEID, the lane masks and the tensor core's instructions read
them. A device serves them with subgroups of 32 or more, or in compute with subgroups of 32 that a pipeline asks for
(subgroupSizeControl). Where its subgroups have fewer (16 on a Mali, 8 on lavapipe), a program that reads other lanes
runs each invocation as a warp of its own, lane 0, where that gives what the console does:
gpu/shader/warp_idioms.c), which gpu/shader/sm86_lone.c hands the SM86 ones to: a combined add and the rank
beside its old value, its leader the highest or the lowest running lane, by a predicate or by a branch over the
leader's run, and an address that MATCH.ALL compared, whose other way is each lane's own add of 1.Any other program is refused, with the instruction and the lanes the device has in the log: subgroup ballot/shuffle
unavailable: REDUX at 1040: no combined add's, no reduction's (8 lanes of 32). The tensor core's instructions always are.
Made from docs/platforms/nx/ounce.md at 69237645142c. GPL-3.0-or-later.