[GSoC - OpenACC] Question implementing device_type clause

Sebastian Galindo via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
Hi,

I'm implementing the parsing for the acc init directive clauses, one of
them is device_type, but this name conflicts with OMP_CLAUSE_DEVICE_TYPE
that comes from OpenMP 5.0 and it does have different possible values.

- How should I name the new clause "device_type" from OpenACC? Maybe
  OACC_CLAUSE_DEVICE_TYPE and include it in the omp_mask?

And also regarding the argument, I don't have a clear idea how to 
resolve the type of the device, since the types are defined in
openacc.h 

- Is there any standard (or suggested way / example) to resolve the type into the
  argument?

Thanks!

Best,
Sebastian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.