On 10/28/15 14:40, Nathan Sidwell wrote:
Richard, this patch adds folding for the new GOACC_DIM_POS and GOACC_DIM_SIZE internal functions. IIUC gimple_fold_call is the right place to add this.The size of a compute dimension is very often a compile-time constant. On the host, in particular it's 1, which means we can deduce the POS must be zero. ok?
https://gcc.gnu.org/ml/gcc-patches/2015-10/threads.html#03095 Ping? nathan