[Openmp-dev] cpuinfo file reliance

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Fri Jul 3 13:42:11 PDT 2020


Jeff,
Linux supports other arches than X86, and the
layout of cpuinfo is different across the architectures.

In the runtime code if you take a look at already  there are ifdefs.

Itaru.

On Fri, Jul 3, 2020 at 23:48 Jeff Hammond <jeff.science at gmail.com> wrote:

> I’m not sure lscpu program is any better and it’s not standard on Linux
> the way /proc/cpuinfo is.
>
> What is the specific problem you are seeing? Perhaps you can explain that
> before trying to design a solution.
>
> Jeff
>
> > On Jul 2, 2020, at 10:55 PM, Itaru Kitayama via Openmp-dev <
> openmp-dev at lists.llvm.org> wrote:
> >
> > Is there a plan to move away from arch dependent cpuinfo file to lscup
> > when creating an affinity map? It has clearly different a format on
> AArch64.
> > _______________________________________________
> > Openmp-dev mailing list
> > Openmp-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200704/f1691282/attachment.html>


More information about the Openmp-dev mailing list