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.

Reply via email to