HomePhabricator

Fix Hwloc API Incompatibility

Authored by jlpeyton on Apr 25 2017, 12:04 PM.

Description

Fix Hwloc API Incompatibility

Older Hwloc libraries (< 1.10.0) don't offer the HWLOC_OBJ_NUMANODE nor
HWLOC_OBJ_PACKAGE types. Instead they are named HWLOC_OBJ_NODE and
HWLOC_OBJ_SOCKET instead. This patch just defines the newer names based on
the older names when using an older Hwloc.

Differential Revision: https://reviews.llvm.org/D32496

llvm-svn: 301349

Details

Committed
jlpeytonApr 25 2017, 12:04 PM
Differential Revision
D32496: Fix Hwloc API Incompatibility
Parents
rG356822fe7b06: Minor fix for distribute_parallel_for_num_threads_codegen on AARCH64
Branches
Unknown
Tags
Unknown