aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-01-04 14:58:06 +0100
committerTobias Burnus <tobias@codesourcery.com>2022-01-04 14:58:06 +0100
commitbe661959a6b6d8f9c3c8608a746789e7b2ec3ca4 (patch)
tree98077e9867316d3f3827f560d06deff68cdf351a /libstdc++-v3/src
parentebc853deb7cc0487de9ef6e891a007ba853d1933 (diff)
downloadgcc-be661959a6b6d8f9c3c8608a746789e7b2ec3ca4.zip
gcc-be661959a6b6d8f9c3c8608a746789e7b2ec3ca4.tar.gz
gcc-be661959a6b6d8f9c3c8608a746789e7b2ec3ca4.tar.bz2
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.
Diffstat (limited to 'libstdc++-v3/src')
0 files changed, 0 insertions, 0 deletions