OpenMP 5.1 defines omp_get_initial_device to return the same value as omp_get_num_devices.
Since this change is also 5.0 compliant, no versioning is needed.
Differential D88149
[OpenMP][libomptarget] make omp_get_initial_device 5.1 compliant protze.joachim on Sep 23 2020, 6:03 AM. Authored by
Details OpenMP 5.1 defines omp_get_initial_device to return the same value as omp_get_num_devices. Since this change is also 5.0 compliant, no versioning is needed.
Diff Detail
Event Timeline
Comment Actions Can you also remove the definition in the header file include/omptarget.h #define HOST_DEVICE -10 Comment Actions LGTM, one nit. Give @grokos and @RaviNarayanaswamy some time to comment or accept as well.
|