4 ms·
> How's that different from masking (i.e per-line predication)? AMD GCN has hardware accelerated masking + stacks for this purpose. AMD's GPU is basically a c
by dragontamer 8y ago
> How's that different from masking (i.e per-line predication)?
AMD GCN has hardware accelerated masking + stacks for this purpose. AMD's GPU is basically a combination of masking + fork/join commands, to split up wavefronts.
But its really just hardware accelerated masks. You sometimes need to store the masks + program counters in a stack to allow for divergent threads, and then pop the masks off and execute older commands... (Complex if / then / else branches where every thread takes a different set of branches).