aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-03-25 10:06:41 +0100
committerTom de Vries <tdevries@suse.de>2022-03-25 13:51:48 +0100
commit8570cce7c705f2ec3ffaeb8e47d58af22a075ebd (patch)
tree04e24f150f63089f12d53736265ddb655646d2b2 /gcc/cp/constexpr.cc
parent0b0fc52b0412cc1608f4f0edb8a0ab2495619c4e (diff)
downloadgcc-8570cce7c705f2ec3ffaeb8e47d58af22a075ebd.zip
gcc-8570cce7c705f2ec3ffaeb8e47d58af22a075ebd.tar.gz
gcc-8570cce7c705f2ec3ffaeb8e47d58af22a075ebd.tar.bz2
[libgomp, testsuite] Scale down some OpenACC test-cases
When a display manager is running on an nvidia card, all CUDA kernel launches get a 5 seconds watchdog timer. Consequently, when running the libgomp testsuite with nvptx accelerator and GOMP_NVPTX_JIT=-O0 we run into a few FAILs like this: ... libgomp: cuStreamSynchronize error: the launch timed out and was terminated FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/parallel-dims.c \ -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 \ execution test ... Fix this by scaling down the failing test-cases by default, and reverting to the original behaviour for GCC_TEST_RUN_EXPENSIVE=1. Tested on x86_64-linux with nvptx accelerator. libgomp/ChangeLog: 2022-03-25 Tom de Vries <tdevries@suse.de> PR libgomp/105042 * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Reduce execution time. * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Same. * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Same.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions