Re: [PATCH] libgomp: Add skeletal OMPD process functions and datatypes.

2020-07-08 Thread Jakub Jelinek via Gcc-patches
On Wed, Jul 08, 2020 at 02:02:44PM -0400, y2s1982 wrote: > + ret = gompd_callbacks.free_memory (handle); > + return ret; You could here just return gompd_callbacks.free_memory (handle); No need to bother with ret variable. Ok with that fixed, no need to repost. Jakub

[PATCH] libgomp: Add skeletal OMPD process functions and datatypes.

2020-07-08 Thread y2s1982 via Gcc-patches
This patch adds OMPD functions defined in 5.5.2 of the OpenMP 5.0 API documentation. It adds per-process and per-device functions, defines related handle data types. It also introduces ompd-types.h to Makefile. 2020-07-08 Tony Sim libgomp/ChangeLog: * Makefile.am (libgompd_la_SOURCES)