By: Kara (karaardalan.delete@this.gmail.com), August 27, 2022 1:00 pm
Room: Moderated Discussions
Someone said if the branch pattern is easily predicted, or has a clear patter, then let the hardware do it :)
Bruh :) how lazy would you have to be.
If it's easy, you do it. Tell the compiler where to look, use your avx instructions my friend, use the big juicy regs on there.
And if the branching have chaotic directions, then let's do everyone a favor and not try to predict it by a perceptron algorithm of things, shall we?
In ray tracing intersections and in A.I gradient descend we'd just throw rands and execute gops of differences and a multitude of epochs and let nature find its way.
Good thing GPUs don't have a bpu.