Answer the question
In order to leave comments, you need to log in
What does it mean GPU doesn't like branches?
Hello!
I've read that threads don't run in parallel when branching. As I understand it
, all processors are grouped into blocks, for example, 16 each, and all block processors work with the same instructions. Do branches affect processes within a block or between blocks too? Could you provide links to examples.
Answer the question
In order to leave comments, you need to log in
Branching means that the length of the sequence of instructions in different blocks will become different, therefore, some of the blocks will be idle at some point, waiting for the blocks that received more instructions to finish working.
And simple = losses.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question