Hi Andrew!

On 2019-11-12T13:29:13+0000, Andrew Stubbs <a...@codesourcery.com> wrote:
> Most of these changes are simply based on the model already defined for
> NVPTX, adapted for GCN as appropriate.

> --- a/libgomp/openacc.f90
> +++ b/libgomp/openacc.f90
> @@ -46,6 +46,7 @@ module openacc_kinds
>    ! integer (acc_device_kind), parameter :: acc_device_host_nonshm = 3 
> removed.
>    integer (acc_device_kind), parameter :: acc_device_not_host = 4
>    integer (acc_device_kind), parameter :: acc_device_nvidia = 5
> +  integer (acc_device_kind), parameter :: acc_device_gcn = 8

Note that as an alternative to the Fortran 'openacc' module, there also
exists 'openacc_lib.h', which you didn't update here.

As of OpenACC 2.5, 'openacc_lib.h' has been deprecated ("no longer
supported"), but so far, we continued to support it, and it's strange
when that one now works for all but 'acc_device_gcn'?


Grüße
 Thomas

Attachment: signature.asc
Description: PGP signature

Reply via email to