gcc/libgomp/testsuite/libgomp.oacc-c-c++-common
Maciej W. Rozycki 6c84c8bf9b Add OpenACC 2.6 `acc_get_property' support
Add generic support for the OpenACC 2.6 `acc_get_property' and
`acc_get_property_string' routines, as well as full handlers for the
host and the NVPTX offload targets and minimal handlers for the HSA,
Intel MIC, and AMD GCN offload targets.

Included are C/C++ and Fortran tests that, in particular, print
the property values for acc_property_vendor, acc_property_memory,
acc_property_free_memory, acc_property_name, and acc_property_driver.
The output looks as follows:

Vendor: GNU
Name: GOMP
Total memory: 0
Free memory: 0
Driver: 1.0

with the host driver (where the memory related properties are not
supported for the host device and yield 0, conforming to the standard)
and output like:

Vendor: Nvidia
Total memory: 12651462656
Free memory: 12202737664
Name: TITAN V
Driver: CUDA Driver 9.1

with the NVPTX driver.

2019-12-22  Maciej W. Rozycki  <macro@codesourcery.com>
	    Frederik Harwath  <frederik@codesourcery.com>
	    Thomas Schwinge  <tschwinge@codesourcery.com>

	include/
	* gomp-constants.h (gomp_device_property): New enum.

	libgomp/
	* libgomp.h (gomp_device_descr): Add `get_property_func' member.
	* libgomp-plugin.h (gomp_device_property_value): New union.
	(gomp_device_property_value): New prototype.
	* openacc.h (acc_device_t): Add `acc_device_current' enumeration
	constant.
	(acc_device_property_t): New enum.
	(acc_get_property, acc_get_property_string): New prototypes.
	* oacc-init.c (acc_get_device_type): Also assert that result
	is not `acc_device_current'.
	(get_property_any, acc_get_property, acc_get_property_string):
	New functions.
	* openacc.f90 (openacc_kinds): Add `acc_device_current' and
	`acc_property_memory', `acc_property_free_memory',
	`acc_property_name', `acc_property_vendor' and
	`acc_property_driver' constants.  Add `acc_device_property' data
	type.
	(openacc_internal): Add `acc_get_property' and
	`acc_get_property_string' interfaces.  Add `acc_get_property_h',
	`acc_get_property_string_h', `acc_get_property_l' and
	`acc_get_property_string_l'.
	* oacc-host.c (host_get_property): New function.
	(host_dispatch): Wire it.
	* target.c (gomp_load_plugin_for_device): Handle `get_property'.
	* libgomp.map (OACC_2.6): Add `acc_get_property', `acc_get_property_h_',
	`acc_get_property_string' and `acc_get_property_string_h_' symbols.
	* libgomp.texi (OpenACC Runtime Library Routines): Add
	`acc_get_property'.
	(acc_get_property): New node.
	* plugin/plugin-gcn.c (GOMP_OFFLOAD_get_property): New
	function (stub).
	* plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): New function.
	* plugin/plugin-nvptx.c (CUDA_CALLS): Add `cuDeviceGetName',
	`cuDeviceTotalMem', `cuDriverGetVersion' and `cuMemGetInfo'
	calls.
	(GOMP_OFFLOAD_get_property): New function.
	(struct ptx_device): Add new field "name".
	(cuda_driver_version_s): Add new static variable ...
	(nvptx_init): ... and init from here.

	* testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: New test.
	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: New test.
	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: New test.
	* testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c: New file
	with test helper functions.

	* testsuite/libgomp.oacc-fortran/acc_get_property.f90: New test.

	liboffloadmic/
	* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_property):
	New function.

Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>


Co-Authored-By: Frederik Harwath <frederik@codesourcery.com>
Co-Authored-By: Thomas Schwinge <tschwinge@codesourcery.com>

From-SVN: r279710
2019-12-22 19:54:09 +00:00
..
abort-1.c
abort-2.c
abort-3.c
abort-4.c
abort-5.c
acc_free-pr92503-1.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
acc_free-pr92503-2.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
acc_free-pr92503-3-2.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
acc_free-pr92503-3.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
acc_free-pr92503-4-2.c [PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp mechanics 2019-12-09 23:52:56 +01:00
acc_free-pr92503-4.c [PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp mechanics 2019-12-09 23:52:56 +01:00
acc_get_property-2.c Add OpenACC 2.6 `acc_get_property' support 2019-12-22 19:54:09 +00:00
acc_get_property-3.c Add OpenACC 2.6 `acc_get_property' support 2019-12-22 19:54:09 +00:00
acc_get_property-aux.c Add OpenACC 2.6 `acc_get_property' support 2019-12-22 19:54:09 +00:00
acc_get_property.c Add OpenACC 2.6 `acc_get_property' support 2019-12-22 19:54:09 +00:00
acc_map_data-device_already-1.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_map_data-device_already-2.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_map_data-device_already-3.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_map_data-host_already-1.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_map_data-host_already-2.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_map_data-host_already-3.c [PR92854] Add 'libgomp.oacc-c-c++-common/acc_map_data-device_already-*.c', 'libgomp.oacc-c-c++-common/acc_map_data-host_already-*.c' 2019-12-11 17:48:59 +01:00
acc_on_device-1.c
acc_prof-dispatch-1.c OpenACC Profiling Interface (incomplete) 2019-05-17 21:13:36 +02:00
acc_prof-init-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
acc_prof-kernels-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
acc_prof-parallel-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
acc_prof-valid_bytes-1.c OpenACC Profiling Interface (incomplete) 2019-05-17 21:13:36 +02:00
acc_prof-version-1.c OpenACC Profiling Interface (incomplete) 2019-05-17 21:13:36 +02:00
acc_set_cuda_stream-1.c [PR88370] acc_get_cuda_stream/acc_set_cuda_stream: acc_async_sync, acc_async_noval 2018-12-14 21:42:08 +01:00
acc_unmap_data-pr92840-1.c [PR92840] [OpenACC] Refuse 'acc_unmap_data' unless mapped by 'acc_map_data' 2019-12-09 23:52:36 +01:00
acc_unmap_data-pr92840-2.c [PR92840] [OpenACC] Refuse 'acc_unmap_data' unless mapped by 'acc_map_data' 2019-12-09 23:52:36 +01:00
acc_unmap_data-pr92840-3.c [PR92840] [OpenACC] Refuse 'acc_unmap_data' unless mapped by 'acc_map_data' 2019-12-09 23:52:36 +01:00
acc-on-device-2.c
acc-on-device.c
async_queue-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
asyncwait-1.c Allow asyncwait-1.c to run for non-nvidia devices 2017-11-14 09:12:14 +00:00
asyncwait-nop-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
atomic_capture-1.c [openacc, testsuite] Fix undefined behaviour in atomic_capture-1.c 2018-04-29 10:26:56 +00:00
atomic_capture-2.c
atomic_rw-1.c
atomic_update-1.c
broadcast-1.c [nvptx] Fix neutering of bb with only cond jump 2018-04-05 08:36:37 +00:00
cache-1.c
clauses-1.c [PR92843] [OpenACC] Fix dynamic reference counting for structured 'REFCOUNT_INFINITY' 2019-12-11 17:49:27 +01:00
clauses-2.c
collapse-1.c
collapse-2.c
collapse-3.c
collapse-4.c
combined-directives-1.c
combined-reduction.c
context-1.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
context-2.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
context-3.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
context-4.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
crash-1.c
data-1.c
data-2-lib.c [PR88407] [OpenACC] Correctly handle unseen async-arguments 2018-12-14 21:42:40 +01:00
data-2.c [PR88407] [OpenACC] Correctly handle unseen async-arguments 2018-12-14 21:42:40 +01:00
data-3.c Correctly describe OpenACC async/wait dependencies 2018-12-14 21:42:18 +01:00
data-clauses-kernels-ipa-pta.c
data-clauses-kernels.c
data-clauses-parallel-ipa-pta.c
data-clauses-parallel.c
data-clauses.h
data-firstprivate-1.c [PR92036] Add 'libgomp.oacc-c-c++-common/data-firstprivate-1.c' 2019-10-09 13:31:14 +02:00
declare-1.c [PR90862] OpenACC 'declare' ICE when nested inside another construct 2019-06-19 00:13:54 +02:00
declare-2.c Enable libgomp.oacc-*/declare-*.{c,f90} for non-nvidia devices 2017-10-16 08:44:42 +00:00
declare-3.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
declare-4.c Enable libgomp.oacc-*/declare-*.{c,f90} for non-nvidia devices 2017-10-16 08:44:42 +00:00
declare-5.c Enable libgomp.oacc-*/declare-*.{c,f90} for non-nvidia devices 2017-10-16 08:44:42 +00:00
declare-vla.c [PR90861] Document status quo for OpenACC 'declare' not cleaning up for VLAs 2019-06-19 00:14:14 +02:00
deep-copy-1.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-2.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-3.c OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
deep-copy-4.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-5.c OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
deep-copy-6.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-7.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-8.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-9.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-10.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-11.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
deep-copy-14.c OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
default-1.c
deviceptr-1.c
enter_exit-lib.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
enter-data.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
f-asyncwait-1.c Add libgomp.oacc-c-c++-common/f-asyncwait-{1,2,3}.c 2017-11-15 13:40:58 +00:00
f-asyncwait-2.c Add libgomp.oacc-c-c++-common/f-asyncwait-{1,2,3}.c 2017-11-15 13:40:58 +00:00
f-asyncwait-3.c Add libgomp.oacc-c-c++-common/f-asyncwait-{1,2,3}.c 2017-11-15 13:40:58 +00:00
firstprivate-1.c
firstprivate-mappings-1.c Test cases to verify OpenACC 'firstprivate' mappings 2019-06-19 00:15:03 +02:00
function-not-offloaded.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
gang-reduction-var-assignment.c [nvptx] Handle assignment to gang-level reduction variable 2019-01-15 10:11:16 +00:00
gang-static-1.c
gang-static-2.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
gomp-debug-env.c Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
host_data-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
host_data-2.c
host_data-4.c
host_data-5.c
host_data-6.c Add 'libgomp.oacc-c-c++-common/host_data-6.c' 2019-12-09 12:40:08 +01:00
if-1.c
insufficient-resources.c [nvptx, testsuite, openacc, libgomp] Add insufficient-resources.c 2019-01-11 11:45:55 +00:00
kernels-alias-ipa-pta-2.c
kernels-alias-ipa-pta-3.c
kernels-alias-ipa-pta.c
kernels-empty.c
kernels-loop-2.c
kernels-loop-3.c
kernels-loop-and-seq-2.c
kernels-loop-and-seq-3.c
kernels-loop-and-seq-4.c
kernels-loop-and-seq-5.c
kernels-loop-and-seq-6.c
kernels-loop-and-seq.c
kernels-loop-clauses.c
kernels-loop-collapse.c
kernels-loop-data-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-loop-data-enter-exit-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-loop-data-enter-exit.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-loop-data-update.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-loop-data.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-loop-g.c
kernels-loop-mod-not-zero.c
kernels-loop-n.c
kernels-loop-nest.c
kernels-loop.c
kernels-parallel-loop-data-enter-exit.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-local-worker-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-local-worker-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-local-worker-3.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-local-worker-4.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-local-worker-5.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-3.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-4.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-5.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-gang-6.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-vector-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-vector-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-2.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-3.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-4.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-5.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-6.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-private-vars-loop-worker-7.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-reduction-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
kernels-reduction.c
lib-1.c
lib-2.c
lib-3.c
lib-4.c
lib-5.c
lib-6.c
lib-7.c
lib-8.c
lib-9.c
lib-10.c
lib-11.c
lib-12.c
lib-13.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
lib-14.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
lib-15.c
lib-16.c Update OpenACC data clause semantics to the 2.5 behavior 2018-06-20 09:35:15 -07:00
lib-19.c
lib-20.c OpenACC "present" subarrays: runtime API return value and unmapping fixes 2019-11-20 17:51:09 +00:00
lib-23.c OpenACC "present" subarrays: runtime API return value and unmapping fixes 2019-11-20 17:51:09 +00:00
lib-24.c
lib-25.c Update OpenACC data clause semantics to the 2.5 behavior 2018-06-20 09:35:15 -07:00
lib-26.c
lib-27.c
lib-31.c
lib-32.c Update OpenACC data clause semantics to the 2.5 behavior 2018-06-20 09:35:15 -07:00
lib-33.c
lib-34.c
lib-35.c
lib-36.c
lib-37.c
lib-39.c
lib-40.c
lib-41.c
lib-42.c
lib-44.c
lib-45.c
lib-46.c
lib-48.c
lib-49.c
lib-51.c
lib-52.c
lib-53.c
lib-54.c
lib-55.c
lib-56.c
lib-57.c
lib-58.c
lib-59.c
lib-60.c
lib-61.c
lib-62.c
lib-63.c
lib-64.c
lib-65.c
lib-66.c
lib-67.c
lib-68.c
lib-69.c [PR88407] [OpenACC] Correctly handle unseen async-arguments 2018-12-14 21:42:40 +01:00
lib-70.c
lib-72.c
lib-73.c
lib-74.c [PR88407] [OpenACC] Correctly handle unseen async-arguments 2018-12-14 21:42:40 +01:00
lib-75.c
lib-76.c
lib-78.c
lib-79.c [PR88407] [OpenACC] Correctly handle unseen async-arguments 2018-12-14 21:42:40 +01:00
lib-81.c
lib-82.c [PR92843] [OpenACC] Fix dynamic reference counting for structured 'REFCOUNT_INFINITY' 2019-12-11 17:49:27 +01:00
lib-83.c Update OpenACC data clause semantics to the 2.5 behavior 2018-06-20 09:35:15 -07:00
lib-84.c [PR88370] acc_get_cuda_stream/acc_set_cuda_stream: acc_async_sync, acc_async_noval 2018-12-14 21:42:08 +01:00
lib-85.c [PR88370] acc_get_cuda_stream/acc_set_cuda_stream: acc_async_sync, acc_async_noval 2018-12-14 21:42:08 +01:00
lib-86.c
lib-87.c
lib-88.c
lib-89.c
lib-90.c
lib-91.c [PR92503] [OpenACC] Don't silently 'acc_unmap_data' in 'acc_free' 2019-12-09 23:52:47 +01:00
lib-92.c
lib-94.c 2018-11-06 Chung-Lin Tang <cltang@codesourcery.com> 2018-11-06 13:09:52 +00:00
lib-95.c 2018-11-06 Chung-Lin Tang <cltang@codesourcery.com> 2018-11-06 13:09:52 +00:00
loop-auto-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-default-runtime.c [openacc] Move GOMP_OPENACC_DIM parsing out of nvptx plugin 2018-05-02 17:53:56 +00:00
loop-default.h Testsuite, remove alloca header 2019-10-02 21:05:35 +02:00
loop-dim-default.c Testsuite, remove alloca header 2019-10-02 21:05:35 +02:00
loop-g-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-g-2.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-gwv-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-g-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-gwv-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-v-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-v-2.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-w-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-w-2.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-red-wv-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
loop-v-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-w-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
loop-wv-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
map-data-1.c Add 'libgomp.oacc-c-c++-common/map-data-1.c' 2019-12-09 12:40:27 +01:00
mapping-1.c [PATCH] Remove use of 'struct map' from plugin (nvptx) 2018-08-01 07:09:56 -07:00
mode-transitions.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
nested-1.c [PR92843] [OpenACC] Fix dynamic reference counting for structured 'REFCOUNT_INFINITY' 2019-12-11 17:49:27 +01:00
nested-2.c
no_create-1.c Add OpenACC 2.6's no_create 2019-12-19 00:10:08 +01:00
no_create-2.c Add OpenACC 2.6's no_create 2019-12-19 00:10:08 +01:00
no_create-3.c Add OpenACC 2.6's no_create 2019-12-19 00:10:08 +01:00
no_create-4.c Add OpenACC 2.6's no_create 2019-12-19 00:10:08 +01:00
no_create-5.c Add OpenACC 2.6's no_create 2019-12-19 00:10:08 +01:00
nvptx-merged-loop.c [nvptx, libgomp] Move rtl-dump test-cases to libgomp 2018-12-19 14:20:44 +00:00
nvptx-sese-1.c [nvptx, libgomp] Move rtl-dump test-cases to libgomp 2018-12-19 14:20:44 +00:00
offset-1.c
par-loop-comb-reduction-1.c Warn about inconsistent OpenACC nested reduction clauses 2019-11-06 10:43:52 +00:00
par-loop-comb-reduction-2.c Warn about inconsistent OpenACC nested reduction clauses 2019-11-06 10:43:52 +00:00
par-loop-comb-reduction-3.c Warn about inconsistent OpenACC nested reduction clauses 2019-11-06 10:43:52 +00:00
par-loop-comb-reduction-4.c Warn about inconsistent OpenACC nested reduction clauses 2019-11-06 10:43:52 +00:00
par-reduction-1.c
par-reduction-2.c OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
parallel-dims.c Add OpenACC 2.6 `serial' construct support 2019-11-12 08:45:35 +00:00
parallel-empty.c
parallel-loop-1.c Update OpenACC testcases 2018-06-22 12:04:14 +02:00
parallel-loop-1.h Update OpenACC testcases 2018-06-22 12:04:14 +02:00
parallel-loop-2.h Update OpenACC testcases 2018-06-22 12:04:14 +02:00
parallel-reduction.c Fix libgomp.oacc-c-c++-common/parallel-reduction.c for non-nvidia devices 2017-09-27 12:35:54 +00:00
pointer-align-1.c
pr70289.c
pr70373.c
pr70688.c
pr83046.c Prune removed funcs from offload table 2017-12-30 17:02:00 +00:00
pr83589.c [nvptx, PR83589] Workaround for branch-around-nothing JIT bug 2018-01-24 13:52:12 +00:00
pr83920.c [nvptx] Fix bug in jit bug workaround 2018-01-19 16:29:41 +00:00
pr84217.c Fix libgomp.oacc-c-c++-common/pr84217.c for C++ 2018-02-07 19:32:21 +00:00
pr84955-1.c PR tree-optimization/89713 - Assume loop with an exit is finite 2019-06-13 04:17:42 +00:00
pr84955.c [openacc] Fix ICE when compiling tile loop containing infinite loop 2018-04-16 18:01:09 +00:00
pr85381-2.c [nvptx, libgomp] Update pr85381-{2,4}.c test-cases 2019-06-15 12:01:30 +00:00
pr85381-3.c [nvptx] Commit passing pr85381-*.c test-cases 2018-12-19 14:20:54 +00:00
pr85381-4.c [nvptx, libgomp] Update pr85381-{2,4}.c test-cases 2019-06-15 12:01:30 +00:00
pr85381-5.c [nvptx] Don't emit barriers for empty loops -- test-cases 2019-01-12 22:18:39 +00:00
pr85381.c [nvptx] Don't emit barriers for empty loops -- test-cases 2019-01-12 22:18:39 +00:00
pr85422.c [lto] Fixup loops before lto write-out 2018-04-26 13:26:25 +00:00
pr85486-2.c [nvptx] Enable setting vector length using -fopenacc-dim -- testcases 2019-01-12 22:19:31 +00:00
pr85486-3.c [nvptx] Force vl32 if calling vector-partitionable routines -- test-cases 2019-01-12 22:18:50 +00:00
pr85486.c [nvptx] Force vl32 if calling vector-partitionable routines -- test-cases 2019-01-12 22:18:50 +00:00
pr85782.c re PR c++/85782 (acc loops with continue statements ICE in c++) 2018-05-18 08:43:09 -07:00
pr87835.c Address compiler diagnostics in libgomp.oacc-c-c++-common/pr87835.c 2019-05-08 12:01:30 +02:00
pr88288.c [PR88288, OpenACC, libgomp] Adjust offsets for present data clauses 2018-11-30 21:39:49 +01:00
pr88941.c [nvptx, libgomp] Fix assert (!s->map->active) in map_fini 2019-01-23 08:16:42 +00:00
pr88946.c [nvptx, libgomp] Fix cuMemAlloc with size zero 2019-01-23 08:16:56 +00:00
pr89376.c [openacc, parloops] Fix SIGSEGV in oacc_entry_exit_ok_1 2019-06-16 07:47:15 +00:00
pr90009.c [openacc] Disable pass_thread_jumps for IFN_UNIQUE 2019-06-15 07:06:19 +00:00
pr92726-1.c [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for 'NULL'-in, non-present data, or size zero 2019-12-18 18:01:11 +01:00
pr92843-1.c OpenACC reference count overhaul 2019-12-20 01:20:16 +00:00
pr92848-1-d-a.c [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes 2019-12-18 18:00:39 +01:00
pr92848-1-d-p.c [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes 2019-12-18 18:00:39 +01:00
pr92848-1-r-a.c [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes 2019-12-18 18:00:39 +01:00
pr92848-1-r-p.c [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes 2019-12-18 18:00:39 +01:00
pr92854-1.c [PR92854] Add 'libgomp.oacc-c-c++-common/pr92854-1.c' 2019-12-09 12:40:17 +01:00
pr92877-1.c [PR92116, PR92877] [OpenACC] Replace 'openacc.data_environ' by standard libgomp mechanics 2019-12-09 23:52:56 +01:00
pr92970-1.c [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for 'NULL'-in, non-present data, or size zero 2019-12-18 18:01:11 +01:00
pr92984-1.c [PR92726, PR92970, PR92984] [OpenACC] Clarify 'acc_delete' etc. for 'NULL'-in, non-present data, or size zero 2019-12-18 18:01:11 +01:00
present-1.c
present-2.c
private-variables.c
reduction-1.c [libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c 2019-01-11 11:46:06 +00:00
reduction-2.c [libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c 2019-01-11 11:46:06 +00:00
reduction-3.c [libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c 2019-01-11 11:46:06 +00:00
reduction-4.c [libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c 2019-01-11 11:46:06 +00:00
reduction-5.c [libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c 2019-01-11 11:46:06 +00:00
reduction-6.c
reduction-7.c Fix openacc float reduction testcases 2017-10-04 08:39:09 +00:00
reduction-8.c
reduction-cplx-dbl.c re PR testsuite/83281 (libgomp.oacc-c-c++-common/reduction-cplx-flt.c and reduction-cplx-dbl.c fail starting with r255335) 2017-12-05 14:34:41 +01:00
reduction-cplx-flt.c re PR testsuite/83281 (libgomp.oacc-c-c++-common/reduction-cplx-flt.c and reduction-cplx-dbl.c fail starting with r255335) 2017-12-05 14:34:41 +01:00
reduction-dbl.c
reduction-flt.c
reduction-initial-1.c
reduction.h
routine-1.c [nvptx] Ignore c++ exceptions 2018-08-02 15:59:01 +00:00
routine-4.c
routine-g-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
routine-gwv-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
routine-v-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
routine-w-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
routine-wv-1.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
routine-wv-2.c [openacc] Add __builtin_goacc_parlevel_{id,size} 2018-05-02 17:53:29 +00:00
subr.h
subr.ptx
subset-subarray-mappings-1-d-a.c [PR92511] More testing for OpenACC "present" subarrays 2019-12-09 12:40:36 +01:00
subset-subarray-mappings-1-d-p.c [PR92511] More testing for OpenACC "present" subarrays 2019-12-09 12:40:36 +01:00
subset-subarray-mappings-1-r-a.c [PR92511] More testing for OpenACC "present" subarrays 2019-12-09 12:40:36 +01:00
subset-subarray-mappings-1-r-p.c [PR92848] [OpenACC] Use 'GOMP_MAP_VARS_ENTER_DATA' for dynamic data lifetimes 2019-12-18 18:00:39 +01:00
subset-subarray-mappings-2.c [PR92511] More testing for OpenACC "present" subarrays 2019-12-09 12:40:36 +01:00
switch-conversion-2.c Fix switch conversion in offloading functions 2018-03-26 09:45:49 +00:00
switch-conversion.c Fix switch conversion in offloading functions 2018-03-26 09:45:49 +00:00
tile-1.c Update OpenACC tests for amdgcn 2019-12-13 17:40:06 +00:00
timer.h
unmap-infinity-1.c OpenACC reference count overhaul 2019-12-20 01:20:16 +00:00
update-1.c
variable-not-offloaded.c [offloading] Error on missing symbols 2018-12-14 13:48:56 +00:00
vector-length-64-1.c [libgomp] In OpenACC testing, by default only build for the offload target that we're actually going to test 2019-02-22 11:51:35 +01:00
vector-length-64-2.c [nvptx] Add vector_length 64 test-cases 2019-01-12 22:19:02 +00:00
vector-length-64-3.c [nvptx] Add vector_length 64 test-cases 2019-01-12 22:19:02 +00:00
vector-length-128-1.c [nvptx] Enable large vectors 2019-01-12 22:17:42 +00:00
vector-length-128-2.c [nvptx] Enable setting vector length using -fopenacc-dim -- testcases 2019-01-12 22:19:31 +00:00
vector-length-128-3.c [nvptx] Fix libgomp.oacc-c-c++-common/vector-length-128-3.c 2019-01-07 08:09:49 +00:00
vector-length-128-4.c [nvptx] Enable large vectors -- test-cases 2019-01-12 22:18:11 +00:00
vector-length-128-5.c [nvptx] Enable setting vector length using -fopenacc-dim -- testcases 2019-01-12 22:19:31 +00:00
vector-length-128-6.c [nvptx] Enable large vectors -- test-cases 2019-01-12 22:18:11 +00:00
vector-length-128-7.c [nvptx] Enable large vectors -- test-cases 2019-01-12 22:18:11 +00:00
vector-length-128-10.c [nvptx] Enable large vectors -- reduction testcases 2019-01-12 22:18:27 +00:00
vector-loop.c
vector-type-1.c
vprop-2.c Fix diff_type in expand_oacc_for char iter_type 2017-08-07 17:06:11 +00:00
vprop.c Fix diff_type in expand_oacc_for char iter_type 2017-08-07 17:06:11 +00:00
vred2d-128.c [nvptx] Enable large vectors -- reduction testcases 2019-01-12 22:18:27 +00:00
zero_length_subarrays.c