Go to file
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
c++tools Daily bump. 2022-03-19 00:16:22 +00:00
config Daily bump. 2022-05-21 00:16:32 +00:00
contrib Daily bump. 2022-05-07 00:16:26 +00:00
fixincludes Daily bump. 2022-02-28 00:16:17 +00:00
gcc jit: use 'final' and 'override' where appropriate 2022-05-23 15:09:30 -04:00
gnattools
gotools Daily bump. 2022-02-14 00:16:23 +00:00
include demangler: C++ modules support 2022-05-23 05:39:15 -07:00
INSTALL
intl
libada
libatomic Daily bump. 2022-03-25 00:17:18 +00:00
libbacktrace Daily bump. 2022-04-06 00:16:22 +00:00
libcc1
libcody Daily bump. 2022-03-19 00:16:22 +00:00
libcpp Daily bump. 2022-05-21 00:16:32 +00:00
libdecnumber Daily bump. 2022-05-21 00:16:32 +00:00
libffi
libgcc Daily bump. 2022-05-21 00:16:32 +00:00
libgfortran Daily bump. 2022-01-27 00:16:29 +00:00
libgo runtime: use correct field name for PPC32 GLIBC registers 2022-04-20 17:49:44 -07:00
libgomp Fix sizes in OMPD support and add local ICVs functions. 2022-06-20 12:44:52 +02:00
libiberty demangler: C++ modules support 2022-05-23 05:39:15 -07:00
libitm Daily bump. 2022-02-04 00:16:24 +00:00
libobjc
liboffloadmic
libphobos Daily bump. 2022-05-17 00:16:28 +00:00
libquadmath Daily bump. 2022-01-12 00:16:39 +00:00
libsanitizer Daily bump. 2022-05-06 00:16:26 +00:00
libssp
libstdc++-v3 Daily bump. 2022-05-21 00:16:32 +00:00
libvtv
lto-plugin Daily bump. 2022-05-05 00:16:29 +00:00
maintainer-scripts Daily bump. 2022-05-21 00:16:32 +00:00
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2022-05-14 00:17:19 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure LoongArch Port: Regenerate configure 2022-03-29 17:43:32 +08:00
configure.ac LoongArch Port: Regenerate configure 2022-03-29 17:43:32 +08:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Add myself to write after approval 2022-05-13 09:30:38 -05:00
Makefile.def toplevel: Makefile.def: Make configure-sim depend on all-readline 2022-03-09 20:54:37 +01:00
Makefile.in toplevel: Makefile.def: Make configure-sim depend on all-readline 2022-03-09 20:54:37 +01:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.