Re: [committed] libgomp/testsuite: Improve omp_get_device_num() tests

2022-01-13 Thread Thomas Schwinge
Hi! On 2022-01-04T15:12:58+0100, Tobias Burnus wrote: > This commit r12-6209 now makes the testcases iterate over all devices > (including the initial/host device). > > Hence, with multiple non-host devices and this test, the error had been > found before ... ;-) Yay for test cases! :-) ...

[committed] libgomp/testsuite: Improve omp_get_device_num() tests (was: Re: [PATCH, OpenMP, libgomp, committed] Fix GOMP_DEVICE_NUM_VAR stringification error)

2022-01-04 Thread Tobias Burnus
On 04.01.22 10:28, Chung-Lin Tang wrote: In the patch that implemented omp_get_device_num(), there was an error where the stringification of GOMP_DEVICE_NUM_VAR, ... ... which caused that omp_get_device() == 0 (always) on nvptx/gcn. That's fine if there is only a single non-host device (as