[Openmp-dev] Behavior of OMP_PROC_BIND=true

Lewis, Cannada via Openmp-dev openmp-dev at lists.llvm.org
Mon Jul 6 14:13:24 PDT 2020


I am writing to figure out what is the expected result from get_omp_proc_bind when the environmental variable OMP_PROC_BIND is true.  Based on https://www.openmp.org/spec-html/5.0/openmpse52.html I was expecting the result to be 1, which is what I get when using g++ version 9.2, but for clang++ I get 4, which is the same as spread.  Any help would be appreciated since I am trying to match up results from an app compiled with clang and a performance model that currently returns 1 for get_omp_proc_bind when OMP_PROC_BIND=true.

-Drew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200706/ce613f5b/attachment.html>


More information about the Openmp-dev mailing list