I'm studying something about OpenCL and I don't understand very well the concept of "work-item divergence or Divergent Control Flow".
As we can see in the picture below, there are some warp or wavefront, depends of the model of the GPU that executes one instruction or another instruction.
Now, my question is: all the warp/wavefront will execute the if condition and later the else condition or only one of these (only the if or only the else) as a normal control flow of a program.
This question can be very stupid, but on the web, I didn't find anything and with other material, I don't understand the point.
Thanks in advance and if there are any problems let me know in the comments!
I'm new on stack about the ask of my personal questions :(