[Openmp-commits] [PATCH] D31600: KMP_HW_SUBSET extended with NUMA support when HWLOC enabled

Paul Osmialowski via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 24 10:18:52 PDT 2017


pawosm01 reopened this revision.
pawosm01 added a comment.
This revision is now accepted and ready to land.

Due to use of new enum constants (HWLOC_OBJ_NUMANODE, HWLOC_OBJ_PACKAGE) this code does not compile on most of the mainstream Linux distributions where pre 2.0 hwloc (-devel) is still provided:

  runtime/src/kmp_affinity.cpp:3504:47: error: ‘HWLOC_OBJ_NUMANODE’ was not declared in this scope
         hN = hwloc_get_ancestor_obj_by_type(tp, HWLOC_OBJ_NUMANODE, hT);
  
  runtime/src/kmp_affinity.cpp:3505:47: error: ‘HWLOC_OBJ_PACKAGE’ was not declared in this scope
         hS = hwloc_get_ancestor_obj_by_type(tp, HWLOC_OBJ_PACKAGE, hT);


Repository:
  rL LLVM

https://reviews.llvm.org/D31600





More information about the Openmp-commits mailing list