gcc/libgomp/testsuite
Thomas Schwinge 5fae049dc2 OpenACC Profiling Interface (incomplete)
libgomp/
	* acc_prof.h: New file.
	* oacc-profiling.c: Likewise.
	* Makefile.am (nodist_libsubinclude_HEADERS, libgomp_la_SOURCES):
	Add these, respectively.
	* Makefile.in: Regenerate.
	* env.c (initialize_env): Call goacc_profiling_initialize.
	* oacc-plugin.c (GOMP_PLUGIN_goacc_thread)
	(GOMP_PLUGIN_goacc_profiling_dispatch): New functions.
	* oacc-plugin.h (GOMP_PLUGIN_goacc_thread)
	(GOMP_PLUGIN_goacc_profiling_dispatch): Declare.
	* libgomp.map (OACC_2.5.1): Add acc_prof_lookup,
	acc_prof_register, acc_prof_unregister, and acc_register_library.
	(GOMP_PLUGIN_1.3): Add GOMP_PLUGIN_goacc_profiling_dispatch, and
	GOMP_PLUGIN_goacc_thread.
	* oacc-int.h (struct goacc_thread): Add prof_info, api_info,
	prof_callbacks_enabled members.
	(goacc_prof_enabled, goacc_profiling_initialize)
	(_goacc_profiling_dispatch_p, _goacc_profiling_setup_p)
	(goacc_profiling_dispatch): Declare.
	(GOACC_PROF_ENABLED, GOACC_PROFILING_DISPATCH_P)
	(GOACC_PROFILING_SETUP_P): Define.
	* oacc-async.c (acc_async_test, acc_async_test_all, acc_wait)
	(acc_wait_async, acc_wait_all, acc_wait_all_async): Update for
	OpenACC Profiling Interface.
	* oacc-cuda.c (acc_get_current_cuda_device)
	(acc_get_current_cuda_context, acc_get_cuda_stream)
	(acc_set_cuda_stream): Likewise.
	* oacc-init.c (acc_init_1, goacc_attach_host_thread_to_device)
	(acc_init, acc_set_device_type, acc_get_device_type)
	(acc_get_device_num, goacc_lazy_initialize): Likewise.
	* oacc-mem.c (acc_malloc, acc_free, memcpy_tofrom_device)
	(acc_deviceptr, acc_hostptr, acc_is_present, acc_map_data)
	(acc_unmap_data, present_create_copy, delete_copyout)
	(update_dev_host): Likewise.
	* oacc-parallel.c (GOACC_parallel_keyed, GOACC_data_start)
	(GOACC_data_end, GOACC_enter_exit_data, GOACC_update, GOACC_wait):
	Likewise.
	* plugin/plugin-nvptx.c (nvptx_exec, nvptx_alloc, nvptx_free)
	(GOMP_OFFLOAD_openacc_exec, GOMP_OFFLOAD_openacc_async_exec):
	Likewise.
	* libgomp.texi: Update.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-dispatch-1.c: New
	file.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Likewise.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:
	Likewise.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c:
	Likewise.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-valid_bytes-1.c:
	Likewise.
	* testsuite/libgomp.oacc-c-c++-common/acc_prof-version-1.c:
	Likewise.

From-SVN: r271346
2019-05-17 21:13:36 +02:00
..
config Update copyright years. 2019-01-01 13:31:55 +01:00
lib [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
libgomp.c re PR middle-end/89002 (ICE in scan_omp_1_op, at omp-low.c:3166) 2019-01-28 23:34:32 +01:00
libgomp.c-c++-common
libgomp.c++ re PR c++/88988 (ICE: Segmentation fault (in lookup_name_real_1)) 2019-01-31 00:28:53 +01:00
libgomp.fortran aligned1.f03: Fix invalid code that now causes an error after r267415. 2018-12-27 20:57:12 +00:00
libgomp.graphite re PR testsuite/89064 (libgomp.graphite/force-parallel-5.c fails starting with r268257) 2019-01-28 09:07:30 +00:00
libgomp.hsa.c
libgomp.oacc-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
libgomp.oacc-c-c++-common OpenACC Profiling Interface (incomplete) 2019-05-17 21:13:36 +02:00
libgomp.oacc-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
libgomp.oacc-fortran [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
libgomp-test-support.exp.in [libgomp] In OpenACC testing, cycle though all offload targets 2019-02-22 11:51:20 +01:00
Makefile.am
Makefile.in [libgomp] In OpenACC testing, cycle though all offload targets 2019-02-22 11:51:20 +01:00