Hi! On 2019-12-17T00:00:04+0100, I wrote: > On 2019-11-14T16:35:31+0100, Frederik Harwath wrote: >> this patch implements OpenACC 2.6 "acc_get_property" and related functions. > As I mentioned before ("thinking aloud"): > > | [...] 'acc_device_current' [is] relevant only for > | 'acc_get_property', to return "the value of the property for the current > | device". This [now has a] special (negative?) value > | [...], so that when additional real device types are added > | later on, we can just add them with increasing numbers, and keep the > | scanning code simple. > Should this actually get value '-1' instead of '-3'? Or, is the OpenACC > 'acc_device_t' code already paying special attention to negative values > '-1', '-2'? (I don't think so.) Now pushed this change to master branch in commit a5d0bc12e1bfa956941cd9c49d5b978256bd11ec "[OpenACC] Set 'acc_device_current = -1'", see attached. Grüße Thomas ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter