[Patch] Fortran: Add 'device_type' clause to OpenMP's declare target

Tobias Burnus tobias@codesourcery.com
Thu Aug 20 09:51:50 GMT 2020


Updated patch – taking Andre's suggestions into account +
extending the testcase, which now catches the previous (NO)HOST
module issue.

OK?

Tobias

On 8/19/20 2:51 PM, Tobias Burnus wrote:
> Am 18.08.20 um 19:33 schrieb Andre Vehreschild:
>> +    case OMP_DEVICE_TYPE_HOST:
>> +      MIO_NAME (ab_attribute) (AB_OMP_DEVICE_TYPE_NOHOST, attr_bits);
>> Why also NOHOST here?
> Copy and paste error.
...
>> +      tree clauses = NULL_TREE;
>> Would you mind using "omp_clauses" or the like here?
Done now.
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omp-devtype-v2.diff
Type: text/x-patch
Size: 19615 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200820/1c382b56/attachment.bin>


More information about the Gcc-patches mailing list