E
E
Eugene Lerner2021-02-06 12:53:32
GPGPU
Eugene Lerner, 2021-02-06 12:53:32

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

1 answer(s)
A
Armenian Radio, 2021-02-06
@gbg

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 question

Ask a Question

731 491 924 answers to any question