Re: [Patch] libgomp: Use libnuma for OpenMP's partition=nearest allocation trait

2023-07-14 Thread Tobias Burnus
Hi Prathamesh, On 13.07.23 18:13, Prathamesh Kulkarni wrote: The newly added tests in above commit -- alloc-11.c and alloc-12.c seem to fail during execution on armv8l-unknown-linux-gnueabihf: thanks for the report and sorry for the breakage. While being aware that libnuma is potentially not

Re: [Patch] libgomp: Use libnuma for OpenMP's partition=nearest allocation trait

2023-07-13 Thread Prathamesh Kulkarni via Gcc-patches
On Wed, 12 Jul 2023 at 17:35, Tobias Burnus wrote: > > Now committed as r14-2462-g450b05ce54d3f0. Hi Tobias, The newly added tests in above commit -- alloc-11.c and alloc-12.c seem to fail during execution on armv8l-unknown-linux-gnueabihf: Running libgomp:libgomp.c++/c++.exp ... FAIL: libgomp.c+

Re: [Patch] libgomp: Use libnuma for OpenMP's partition=nearest allocation trait

2023-07-12 Thread Tobias Burnus
Now committed as r14-2462-g450b05ce54d3f0. Changes to the patch in previous email: * I fixed some issues found on the way, * The wording in the .texi has been improved/expanded, and * I included two testcases to exercise the two libraries (or the default allocator when it is not available at ru

[Patch] libgomp: Use libnuma for OpenMP's partition=nearest allocation trait

2023-07-11 Thread Tobias Burnus
While by default 'malloc' allocates memory on the same node as the calling process/thread ('numactl --show' shows 'preferred node: current', Linux kernel memory policy MPOL_DEFAULT), this can be changed. For instance, when running the program as follows, 'malloc' now prefers to allocate on the sec