gcc/libgomp/testsuite
Tobias Burnus be661959a6 libgomp/testsuite: Improve omp_get_device_num() tests
Related to r12-6208-gebc853deb7cc0487de9ef6e891a007ba853d1933
"libgomp: Fix GOMP_DEVICE_NUM_VAR stringification during offload image load"

That commit fixed an issue with omp_get_device_num() on gcn/nvptx that
resulted in having always the value 0.
This commit modifies the tests to iterate over all devices such that on a
multi-nonhost-device system it had detected that always-zero issue.

libgomp/ChangeLog:

	* testsuite/libgomp.c-c++-common/target-45.c: Iterate over all devices.
	* testsuite/libgomp.fortran/target10.f90: Likewise.
2022-01-04 14:58:06 +01:00
..
config Update copyright years. 2022-01-03 10:42:10 +01:00
lib Allow matching Intel MIC in OpenMP 'declare variant' 2021-08-23 17:45:40 +02:00
libgomp.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp.c-c++-common libgomp/testsuite: Improve omp_get_device_num() tests 2022-01-04 14:58:06 +01:00
libgomp.c++ openmp: Fix libgomp.c++ testsuite errors for non-offload configs 2021-12-10 00:39:03 +08:00
libgomp.fortran libgomp/testsuite: Improve omp_get_device_num() tests 2022-01-04 14:58:06 +01:00
libgomp.graphite Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp.oacc-c
libgomp.oacc-c-c++-common libgomp.oacc-c-c++-common/loop-gwv-2.c: Use __builtin_alloca 2021-10-25 20:48:38 +02:00
libgomp.oacc-c++
libgomp.oacc-fortran fortran: OpenMP/OpenACC array mapping alignment fix (PR90030) 2021-12-02 18:27:16 +08:00
libgomp-site-extra.exp.in
libgomp-test-support.exp.in
Makefile.am
Makefile.in