◄ Wiki / Graphics
elect / ballot
GPU operations where a group of parallel threads votes or picks a single representative.
On a GPU, many invocations run in lockstep as a subgroup, and subgroup operations let them coordinate. 'Elect' chooses exactly one invocation to do a shared task, while 'ballot' takes a yes/no vote across the group and reports who said what. These primitives enable efficient cooperation without heavier synchronization.
See also
- draw callA single command telling the GPU to render a batch of geometry.
- descriptor / descriptor setA grouped bundle of resource bindings handed to a shader together.