gcc/libgomp/testsuite/libgomp.oacc-fortran
Tom de Vries 8570cce7c7 [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.
2022-03-25 13:51:48 +01:00
..
abort-1.f90
abort-2.f90
acc_get_property.f90
acc_on_device-1-1.f90
acc_on_device-1-2.f
acc_on_device-1-3.f
allocatable-1-1.f90
allocatable-1-2.f90
allocatable-array-1.f90
array-stride-dt-1.f90
asyncwait-1.f90 OpenACC 'kernels' decomposition: resolve wrong-code cases unless manually making certain variables addressable [PR100280, PR104892] 2022-03-12 15:37:27 +01:00
asyncwait-2.f90 Enhance OpenACC 'kernels' decomposition testing 2022-01-13 10:42:17 +01:00
asyncwait-3.f90 Enhance OpenACC 'kernels' decomposition testing 2022-01-13 10:42:17 +01:00
atomic_capture-1.f90
atomic_rw-1.f90
atomic_update-1.f90
attach-descriptor-1.f90 nvptx: update fix for -Wformat-diag 2022-01-19 08:27:00 +01:00
attach-descriptor-2.f90
cache-1.f95
class-ptr-param.f95
classtypes-1.f95
classtypes-2.f95
clauses-1.f90
collapse-1.f90
collapse-2.f90
collapse-3.f90
collapse-4.f90
collapse-5.f90
collapse-6.f90
collapse-7.f90
collapse-8.f90
combined-directives-1.f90
combined-reduction.f90
common-block-1.f90
common-block-2.f90
common-block-3.f90
cublas-fixed.h
data-1.f90
data-2.f90
data-3.f90
data-4-2.f90
data-4.f90
data-5.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
declare-1.f90
declare-2.f90
declare-3.f90
declare-4.f90
declare-5.f90
deep-copy-1.f90
deep-copy-3.f90
deep-copy-4.f90
deep-copy-5.f90
deep-copy-6-no_finalize.F90
deep-copy-6.f90
deep-copy-7.f90
deep-copy-8.f90
default-1.f90
derived-type-1.f90
derivedtype-1.f95
derivedtype-2.f95
derivedtypes-arrays-1.f90 nvptx: update fix for -Wformat-diag 2022-01-19 08:27:00 +01:00
dummy-array.f90
dynamic-incr-structural-1.f90
dynamic-pointer-1.f90
error_stop-1.f
error_stop-2.f
error_stop-3.f
firstprivate-1.f90
fortran.exp
gang-static-1.f90
gemm-2.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
gemm.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
host_data-1.f90
host_data-2.f90
host_data-3.f
host_data-4.f90
host_data-5.F90
if-1.f90 Enhance further testcases to verify Openacc 'kernels' decomposition 2022-03-17 08:51:32 +01:00
implicit-firstprivate-ref.f90
kernels-acc-loop-reduction-2.f90
kernels-acc-loop-reduction.f90
kernels-collapse-3.f90
kernels-collapse-4.f90
kernels-independent.f90
kernels-loop-1.f90
kernels-loop-2.f95 nvptx: update fix for -Wformat-diag 2022-01-19 08:27:00 +01:00
kernels-loop-data-2.f95
kernels-loop-data-enter-exit-2.f95
kernels-loop-data-enter-exit.f95
kernels-loop-data-update.f95
kernels-loop-data.f95
kernels-loop.f95
kernels-map-1.f90
kernels-parallel-loop-data-enter-exit.f95
kernels-private-vars-loop-gang-1.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-gang-2.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-gang-3.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-gang-6.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-vector-1.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-vector-2.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-1.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-2.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-3.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-4.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-5.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-6.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-private-vars-loop-worker-7.f90 Test 'libgomp.oacc-*/kernels-private-vars-*' with '--param=openacc-kernels=decompose' [PR104784] 2022-03-04 15:47:06 +01:00
kernels-reduction-1.f90 OpenACC 'kernels' decomposition: resolve wrong-code cases unless manually making certain variables addressable [PR100280, PR104892] 2022-03-12 15:37:27 +01:00
lib-1.f90
lib-2.f
lib-3.f
lib-4.f90
lib-5.f90
lib-6.f90
lib-7.f90
lib-8.f90
lib-10.f90
lib-12.f90
lib-13.f90
lib-14.f90
lib-15.f90
lib-16-2.f90
lib-16.f90
lib-32-1.f
lib-32-2.f
map-1.f90
mdc-refcount-1-1-1.f90
mdc-refcount-1-1-2.F90
mdc-refcount-1-2-1.f90
mdc-refcount-1-2-2.f90
mdc-refcount-1-3-1.f90
mdc-refcount-1-3-2.f90
mdc-refcount-1-4-1.f90
mdc-refcount-1-4-2.f90
multidim-slice.f95
nested-function-1.f90
nested-function-2.f90
nested-function-3.f90
no_create-1.f90
no_create-2.f90
no_create-3.F90
non-scalar-data.f90
openacc_version-1.f
openacc_version-2.f90
optional-cache.f95
optional-data-copyin-by-value.f90
optional-data-copyin.f90
optional-data-copyout.f90
optional-data-enter-exit.f90
optional-declare.f90
optional-firstprivate.f90
optional-host_data.f90
optional-nested-calls.f90
optional-private.f90 [OpenACC privatization] Analyze 'lookup_decl'-translated DECL [PR90115, PR102330, PR104774] 2022-03-10 12:06:28 +01:00
optional-reduction.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
optional-update-device.f90
optional-update-host.f90
par-reduction-2-1.f
par-reduction-2-2.f
parallel-dims-aux.c
parallel-dims.f90 [libgomp, testsuite] Scale down some OpenACC test-cases 2022-03-25 13:51:48 +01:00
parallel-loop-1.f90
parallel-reduction.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
pointer-align-1.f90
pr68813.f90
pr70289.f90
pr70643.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
pr81352.f90
pr83920.f90
pr84028.f90
pr84955.f90
pr90030.f90 fortran: OpenMP/OpenACC array mapping alignment fix (PR90030) 2021-12-02 18:27:16 +08:00
pr94358-1.f90 Enhance OpenACC 'kernels' decomposition testing 2022-01-13 10:42:17 +01:00
pr96628-part1.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
pr96628-part2.f90
print-1-nvptx.f90
print-1.f90
private-atomic-1-gang.f90
private-atomic-1-vector.f90 [nvptx] Add some support for .local atomics 2022-02-01 19:28:24 +01:00
private-atomic-1-worker.f90 [nvptx] Add some support for .local atomics 2022-02-01 19:28:24 +01:00
private-variables.f90
privatized-ref-1.f95 [OpenACC privatization] Analyze 'lookup_decl'-translated DECL [PR90115, PR102330, PR104774] 2022-03-10 12:06:28 +01:00
privatized-ref-2.f90 [OpenACC privatization] Analyze 'lookup_decl'-translated DECL [PR90115, PR102330, PR104774] 2022-03-10 12:06:28 +01:00
pset-1.f90
reduction-1.f90
reduction-2.f90
reduction-3.f90
reduction-4.f90
reduction-5.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
reduction-6.f90
reduction-7.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
reduction-8.f90
reference-reductions.f90 Document current '-Wuninitialized'/'-Wmaybe-uninitialized' diagnostics for OpenACC test cases 2022-01-13 11:52:35 +01:00
routine-1.f90 Enhance further testcases to verify handling of OpenACC privatization level [PR90115] 2022-03-10 11:24:07 +01:00
routine-2.f90 Enhance further testcases to verify handling of OpenACC privatization level [PR90115] 2022-03-10 11:24:07 +01:00
routine-3.f90 Enhance further testcases to verify handling of OpenACC privatization level [PR90115] 2022-03-10 11:24:07 +01:00
routine-4.f90
routine-5.f90
routine-7.f90
routine-9.f90 Enhance further testcases to verify handling of OpenACC privatization level [PR90115] 2022-03-10 11:24:07 +01:00
routine-10.f90 Document current '-Wuninitialized' diagnostics for 'libgomp.oacc-fortran/routine-10.f90' [PR102192] 2022-01-13 11:52:35 +01:00
routine-nohost-1.f90
stop-1.f
stop-2.f
stop-3.f
subarrays-1.f90
subarrays-2.f90
update-1.f90
update-2.f90
update-dt-array.f90
vector-routine.f90