issues
search
spcl
/
open-earth-compiler
development repository for the open earth compiler
https://arxiv.org/abs/2005.13014
Other
75
stars
14
forks
source link
if/else optimization
#37
Open
gysit
opened
4 years ago
gysit
commented
4 years ago
add a pass that automatically inserts if else if select produces too much extra computation
similarly we may want to hoist common computation executed by an if and a else branch in a stencil kernel
some GPUs can executed diverging branches concurrenlty -> need to benchmark if such a hoisting is beneficial at all