gcc/libgomp/testsuite/libgomp.oacc-fortran
Julian Brown d6d9be7c6b openacc: Fix race condition in Fortran loop collapse tests
The gangs participating in a gang-partitioned loop are not all guaranteed
to complete before some given gang continues to execute beyond that loop.
This means that two existing test cases contain a race condition,
because a loop that may be gang-partitioned is followed immediately by
another loop.  The fix is to place the loops in separate parallel regions.

2020-09-08  Julian Brown  <julian@codesourcery.com>

libgomp/
	* testsuite/libgomp.oacc-fortran/collapse-1.f90: Fix race condition.
	* testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise.
2020-09-08 13:26:42 -07: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
asyncwait-1.f90
asyncwait-2.f90
asyncwait-3.f90
atomic_capture-1.f90
atomic_rw-1.f90
atomic_update-1.f90
attach-descriptor-1.f90 openacc: No attach/detach present/release mappings for array descriptors 2020-08-03 12:06:49 -07:00
attach-descriptor-2.f90 openacc: Fix standalone attach for Fortran assumed-shape array pointers 2020-07-16 14:12:53 -07:00
cache-1.f95
class-ptr-param.f95
classtypes-1.f95
classtypes-2.f95
clauses-1.f90
collapse-1.f90 openacc: Fix race condition in Fortran loop collapse tests 2020-09-08 13:26:42 -07:00
collapse-2.f90 openacc: Fix race condition in Fortran loop collapse tests 2020-09-08 13:26:42 -07:00
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
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 openacc: Deep copy attach/detach should not affect reference counts 2020-07-27 09:16:57 -07:00
deep-copy-6.f90 openacc: Deep copy attach/detach should not affect reference counts 2020-07-27 09:16:57 -07:00
deep-copy-7.f90
deep-copy-8.f90
default-1.f90
derived-type-1.f90
derivedtype-1.f95
derivedtype-2.f95
dummy-array.f90
dynamic-incr-structural-1.f90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
dynamic-pointer-1.f90 openacc: Don't strip TO_PSET/POINTER for enter/exit data 2020-07-13 03:21:20 -07:00
error_stop-1.f
error_stop-2.f
error_stop-3.f
firstprivate-1.f90
fortran.exp [testsuite] Unset 'offload_target' after use 2020-07-24 14:00:43 +02:00
gang-static-1.f90
gemm-2.f90
gemm.f90
host_data-1.f90
host_data-2.f90
host_data-3.f
host_data-4.f90
host_data-5.F90
if-1.f90
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
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
kernels-private-vars-loop-gang-2.f90
kernels-private-vars-loop-gang-3.f90
kernels-private-vars-loop-gang-6.f90
kernels-private-vars-loop-vector-1.f90
kernels-private-vars-loop-vector-2.f90
kernels-private-vars-loop-worker-1.f90
kernels-private-vars-loop-worker-2.f90
kernels-private-vars-loop-worker-3.f90
kernels-private-vars-loop-worker-4.f90
kernels-private-vars-loop-worker-5.f90
kernels-private-vars-loop-worker-6.f90
kernels-private-vars-loop-worker-7.f90
kernels-reduction-1.f90
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 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
mdc-refcount-1-1-2.F90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
mdc-refcount-1-2-1.f90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
mdc-refcount-1-2-2.f90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
mdc-refcount-1-3-1.f90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
mdc-refcount-1-3-2.f90
mdc-refcount-1-4-1.f90 openacc: Adjust dynamic reference count semantics 2020-07-10 08:07:12 -07:00
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
optional-reduction.f90
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
parallel-loop-1.f90
parallel-reduction.f90
pointer-align-1.f90
pr68813.f90
pr70289.f90
pr70643.f90
pr81352.f90
pr83920.f90
pr84028.f90
pr84955.f90
pr96628-part1.f90 [nvptx] Handle V2DI/V2SI mode in nvptx_gen_shuffle 2020-08-04 11:59:08 +02:00
pr96628-part2.f90 [nvptx] Handle V2DI/V2SI mode in nvptx_gen_shuffle 2020-08-04 11:59:08 +02:00
print-1-nvptx.f90
print-1.f90
private-variables.f90
pset-1.f90
reduction-1.f90
reduction-2.f90
reduction-3.f90
reduction-4.f90
reduction-5.f90
reduction-6.f90
reduction-7.f90
reduction-8.f90
reference-reductions.f90
routine-1.f90
routine-2.f90
routine-3.f90
routine-4.f90
routine-5.f90
routine-7.f90
routine-9.f90
routine-10.f90 OpenACC/Fortran: permit 'routine' inside PURE 2020-06-16 20:23:58 +02:00
stop-1.f
stop-2.f
stop-3.f
subarrays-1.f90
subarrays-2.f90
update-1.f90
update-2.f90
vector-routine.f90