public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
@ 2021-08-16  9:55 Tobias Burnus
  2021-08-16  9:59 ` Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2021-08-16  9:55 UTC (permalink / raw)
  To: gcc-patches, Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Compared to the PR, it also contains omp_alloc/omp_free which I missed
when creating the PR.

Hopefully, I haven't missed any other routine.

OK? (Once bootstrap+testing succeeded, but I do not expect issues.)

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: omp-routines.diff --]
[-- Type: text/x-patch, Size: 2056 bytes --]

[OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]

gcc/ChangeLog:

	PR middle-end/101931
	* omp-low.c (omp_runtime_api_call): Update for routines
	added in the meanwhile.

 gcc/omp-low.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 22ba579d11c..bef99405c20 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -3863,6 +3863,8 @@ omp_runtime_api_call (const_tree fndecl)
     {
       /* This array has 3 sections.  First omp_* calls that don't
 	 have any suffixes.  */
+      "omp_alloc",
+      "omp_free",
       "target_alloc",
       "target_associate_ptr",
       "target_disassociate_ptr",
@@ -3873,13 +3875,17 @@ omp_runtime_api_call (const_tree fndecl)
       NULL,
       /* Now omp_* calls that are available as omp_* and omp_*_.  */
       "capture_affinity",
+      "destroy_allocator",
       "destroy_lock",
       "destroy_nest_lock",
       "display_affinity",
+      "fulfill_event",
       "get_active_level",
       "get_affinity_format",
       "get_cancellation",
+      "get_default_allocator",
       "get_default_device",
+      "get_device_num",
       "get_dynamic",
       "get_initial_device",
       "get_level",
@@ -3895,6 +3901,7 @@ omp_runtime_api_call (const_tree fndecl)
       "get_partition_num_places",
       "get_place_num",
       "get_proc_bind",
+      "get_supported_active_levels",
       "get_team_num",
       "get_thread_limit",
       "get_thread_num",
@@ -3908,6 +3915,7 @@ omp_runtime_api_call (const_tree fndecl)
       "pause_resource",
       "pause_resource_all",
       "set_affinity_format",
+      "set_default_allocator",
       "set_lock",
       "set_nest_lock",
       "test_lock",
@@ -3916,7 +3924,9 @@ omp_runtime_api_call (const_tree fndecl)
       "unset_nest_lock",
       NULL,
       /* And finally calls available as omp_*, omp_*_ and omp_*_8_.  */
+      "display_env",
       "get_ancestor_thread_num",
+      "init_allocator",
       "get_partition_place_nums",
       "get_place_num_procs",
       "get_place_proc_ids",

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
  2021-08-16  9:55 [Patch] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931] Tobias Burnus
@ 2021-08-16  9:59 ` Jakub Jelinek
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2021-08-16  9:59 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: gcc-patches

On Mon, Aug 16, 2021 at 11:55:50AM +0200, Tobias Burnus wrote:
> [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
> 
> gcc/ChangeLog:
> 
> 	PR middle-end/101931
> 	* omp-low.c (omp_runtime_api_call): Update for routines
> 	added in the meanwhile.

LGTM, thanks.

	Jakub


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Patch] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
@ 2021-08-16  9:56 Tobias Burnus
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Burnus @ 2021-08-16  9:56 UTC (permalink / raw)
  To: gcc-patches, Jakub Jelinek

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Compared to the PR, it also contains omp_alloc/omp_free which I missed
when creating the PR.

Hopefully, I haven't missed any other routine.

OK? (Once bootstrap+testing succeeded, but I do not expect issues.)

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: omp-routines.diff --]
[-- Type: text/x-patch, Size: 2056 bytes --]

[OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]

gcc/ChangeLog:

	PR middle-end/101931
	* omp-low.c (omp_runtime_api_call): Update for routines
	added in the meanwhile.

 gcc/omp-low.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 22ba579d11c..bef99405c20 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -3863,6 +3863,8 @@ omp_runtime_api_call (const_tree fndecl)
     {
       /* This array has 3 sections.  First omp_* calls that don't
 	 have any suffixes.  */
+      "omp_alloc",
+      "omp_free",
       "target_alloc",
       "target_associate_ptr",
       "target_disassociate_ptr",
@@ -3873,13 +3875,17 @@ omp_runtime_api_call (const_tree fndecl)
       NULL,
       /* Now omp_* calls that are available as omp_* and omp_*_.  */
       "capture_affinity",
+      "destroy_allocator",
       "destroy_lock",
       "destroy_nest_lock",
       "display_affinity",
+      "fulfill_event",
       "get_active_level",
       "get_affinity_format",
       "get_cancellation",
+      "get_default_allocator",
       "get_default_device",
+      "get_device_num",
       "get_dynamic",
       "get_initial_device",
       "get_level",
@@ -3895,6 +3901,7 @@ omp_runtime_api_call (const_tree fndecl)
       "get_partition_num_places",
       "get_place_num",
       "get_proc_bind",
+      "get_supported_active_levels",
       "get_team_num",
       "get_thread_limit",
       "get_thread_num",
@@ -3908,6 +3915,7 @@ omp_runtime_api_call (const_tree fndecl)
       "pause_resource",
       "pause_resource_all",
       "set_affinity_format",
+      "set_default_allocator",
       "set_lock",
       "set_nest_lock",
       "test_lock",
@@ -3916,7 +3924,9 @@ omp_runtime_api_call (const_tree fndecl)
       "unset_nest_lock",
       NULL,
       /* And finally calls available as omp_*, omp_*_ and omp_*_8_.  */
+      "display_env",
       "get_ancestor_thread_num",
+      "init_allocator",
       "get_partition_place_nums",
       "get_place_num_procs",
       "get_place_proc_ids",

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-16  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16  9:55 [Patch] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931] Tobias Burnus
2021-08-16  9:59 ` Jakub Jelinek
2021-08-16  9:56 Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).