gcc/libgomp
Mohame Atef d098c1d7c0 Fix sizes in OMPD support and add local ICVs functions.
This patch fixes some undesirable implementation details in OMPD support,
and adds local ICVs functions, e.g. per-thread, per-task, and per-parallel
region ICVs.

libgomp/ChangeLog

2022-06-17  Mohamed Atef  <mohamedatef1698@gmail.com>

	* ompd-helper.h (DEREFERENCE, ACCESS_VALUE): New macros.
	(gompd_get_proc_bind): Change the returned value from ompd_word_t
	to const char *.
	(gompd_get_max_task_priority): Fix format.
	(gompd_stringize_gompd_enabled): Removed.
	(gompd_get_gompd_enabled): New function prototype.
	* ompd-helper.c (gompd_get_affinity_format): Call CHECK_RET.
	Fix format in gompd_enabled GET_VALUE.
	(gompd_stringize_gompd_enabled): Removed.
	(gompd_get_nthread, gompd_get_thread_limit, gompd_get_run_sched,
	gompd_get_run_sched_chunk_size, gompd_get_default_device,
	gompd_get_dynamic, gompd_get_max_active_levels, gompd_get_proc_bind,
	gompd_is_final, gompd_is_implicit, gompd_get_team_size): New functions.
	(gompd_get_gompd_enabled): Change the returned value from
	ompd_word_t to const char *.
	* ompd-init.c (ompd_process_initialize): Use sizeof_short instead of
	sizeof_long_long in GET_VALUE argument.
	* ompd-support.h: Change type from __UINT64_TYPE__ to unsigned short.
	(GOMPD_FOREACH_ACCESS): Add entries for gomp_task kind
	and final_task and gomp_team nthreads.
	* ompd-support.c (gompd_get_offset, gompd_get_sizeof_member,
	gompd_get_size, OMPD_SECTION): Define.
	(gompd_access_gomp_thread_handle,
	gompd_sizeof_gomp_thread_handle): New variables.
	(gompd_state): Change type from __UNIT64_TYPE__ to
	unsigned short.
	(gompd_load): Remove gompd_init_access, gompd_init_sizeof_members,
	gompd_init_sizes, gompd_access_gomp_thread_handle,
	gompd_sizeof_gomp_thread_handle.
	* ompd-icv.c (ompd_get_icv_from_scope): Add thread_handle,
	task_handle and parallel_handle.  Fix format in ashandle definition.
	Call gompd_get_nthread, gompd_get_thread_limit, gomp_get_run_shed,
	gompd_get_run_sched_chunk_size, gompd_get_default_device,
	gompd_get_dynamic, gompd_get_max_active_levels, gompd_get_proc_bind,
	gompd_is_final, gompd_is_implicit,
	and gompd_get_team_size.
	(ompd_get_icv_string_from_scope): Fix format in ashandle definition.
	Add task_handle. Call gompd_get_gompd_enabled, and
	gompd_get_proc_bind.  Remove the call to
	gompd_stringize_gompd_enabled.
2022-06-20 12:44:52 +02:00
..
config Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
plugin libgomp nvptx plugin: Only consider '--with-cuda-driver=[...]' when applicable 2022-05-13 14:01:01 +02:00
testsuite OpenMP: Handle descriptors in target's firstprivate [PR104949] 2022-05-23 10:54:32 +02:00
.gitattributes
acc_prof.h Update copyright years. 2022-01-03 10:42:10 +01:00
acinclude.m4 Add mold detection for libs. 2022-01-31 09:46:44 +01:00
aclocal.m4
affinity-fmt.c Update copyright years. 2022-01-03 10:42:10 +01:00
affinity.c Update copyright years. 2022-01-03 10:42:10 +01:00
alloc.c Update copyright years. 2022-01-03 10:42:10 +01:00
allocator.c Update copyright years. 2022-01-03 10:42:10 +01:00
atomic.c Update copyright years. 2022-01-03 10:42:10 +01:00
barrier.c Update copyright years. 2022-01-03 10:42:10 +01:00
ChangeLog Daily bump. 2022-05-21 00:16:32 +00:00
ChangeLog.graphite
config.h.in Refactor '-ldl' handling for libgomp proper and plugins 2022-05-12 15:11:30 +02:00
configure Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
configure.ac Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
configure.tgt LoongArch Port: libgomp 2022-03-29 17:43:35 +08:00
critical.c Update copyright years. 2022-01-03 10:42:10 +01:00
env.c Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
error.c Update copyright years. 2022-01-03 10:42:10 +01:00
fortran.c OpenMP, Fortran: Bugfix for omp_set_num_teams. 2022-03-16 07:38:54 -07:00
hashtab.h Update copyright years. 2022-01-03 10:42:10 +01:00
icv-device.c Update copyright years. 2022-01-03 10:42:10 +01:00
icv.c Update copyright years. 2022-01-03 10:42:10 +01:00
iter_ull.c Update copyright years. 2022-01-03 10:42:10 +01:00
iter.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp_f.h.in Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp_g.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp-plugin.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp-plugin.h Update copyright years. 2022-01-03 10:42:10 +01:00
libgomp.h openmp: Add support for inoutset depend-kind 2022-05-17 15:40:27 +02:00
libgomp.map Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
libgomp.spec.in
libgomp.texi libgomp: Add new runtime routines omp_target_memcpy_async and omp_target_memcpy_rect_async 2022-05-20 02:29:32 -07:00
libgompd.map Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
lock.c Update copyright years. 2022-01-03 10:42:10 +01:00
loop_ull.c libgomp: Fix up two non-GOMP_USE_ALIGNED_WORK_SHARES related issues [PR105358] 2022-04-26 08:57:17 +02:00
loop.c libgomp: Fix up two non-GOMP_USE_ALIGNED_WORK_SHARES related issues [PR105358] 2022-04-26 08:57:17 +02:00
Makefile.am Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
Makefile.in Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
oacc-async.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-cuda.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-host.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-init.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-int.h Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-mem.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-parallel.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-plugin.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-plugin.h Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-profiling.c Update copyright years. 2022-01-03 10:42:10 +01:00
oacc-target.c
omp_lib.f90.in libgomp: Add new runtime routines omp_target_memcpy_async and omp_target_memcpy_rect_async 2022-05-20 02:29:32 -07:00
omp_lib.h.in libgomp: Add new runtime routines omp_target_memcpy_async and omp_target_memcpy_rect_async 2022-05-20 02:29:32 -07:00
omp-tools.h.in Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
omp.h.in libgomp: Add new runtime routines omp_target_memcpy_async and omp_target_memcpy_rect_async 2022-05-20 02:29:32 -07:00
ompd-helper.c Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-helper.h Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-icv.c Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-init.c Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-support.c Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-support.h Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
ompd-types.h.in Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
openacc_lib.h Update copyright years. 2022-01-03 10:42:10 +01:00
openacc.f90 Update copyright years. 2022-01-03 10:42:10 +01:00
openacc.h Update copyright years. 2022-01-03 10:42:10 +01:00
ordered.c Update copyright years. 2022-01-03 10:42:10 +01:00
parallel.c Update copyright years. 2022-01-03 10:42:10 +01:00
priority_queue.c Update copyright years. 2022-01-03 10:42:10 +01:00
priority_queue.h Update copyright years. 2022-01-03 10:42:10 +01:00
scope.c Update copyright years. 2022-01-03 10:42:10 +01:00
sections.c libgomp: Fix up two non-GOMP_USE_ALIGNED_WORK_SHARES related issues [PR105358] 2022-04-26 08:57:17 +02:00
secure_getenv.h Update copyright years. 2022-01-03 10:42:10 +01:00
single.c Update copyright years. 2022-01-03 10:42:10 +01:00
splay-tree.c Update copyright years. 2022-01-03 10:42:10 +01:00
splay-tree.h Update copyright years. 2022-01-03 10:42:10 +01:00
target.c OpenMP: Handle descriptors in target's firstprivate [PR104949] 2022-05-23 10:54:32 +02:00
task.c libgomp: Add new runtime routines omp_target_memcpy_async and omp_target_memcpy_rect_async 2022-05-20 02:29:32 -07:00
taskloop.c Update copyright years. 2022-01-03 10:42:10 +01:00
team.c Add OMPD support, initialization and global ICVs function. 2022-05-23 21:46:38 +02:00
teams.c Update copyright years. 2022-01-03 10:42:10 +01:00
work.c libgomp: Fix up two non-GOMP_USE_ALIGNED_WORK_SHARES related issues [PR105358] 2022-04-26 08:57:17 +02:00