Subgroups narrower than a warp

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:

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.