B
Billy Mays
Hey CLC,
I was wondering if there is a way to avoid the C short circuiting for
boolean expressions such as the following:
if(a && b && c) {
/* Do stuff */
}
I am currently doing GPU programming and it would be better to evaluate
the entire condition, even if a is 0, since branches are slow.
I was wondering if there is a way to avoid the C short circuiting for
boolean expressions such as the following:
if(a && b && c) {
/* Do stuff */
}
I am currently doing GPU programming and it would be better to evaluate
the entire condition, even if a is 0, since branches are slow.