[OpenACC] internal fn folding
Bernd Schmidt
bschmidt@redhat.com
Wed Nov 4 10:02:00 GMT 2015
On 11/02/2015 02:56 PM, Nathan Sidwell wrote:
> 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?
Ok.
Bernd
More information about the Gcc-patches
mailing list