Skip to content
Commit 62a933b7 authored by Nemanja Ivanovic's avatar Nemanja Ivanovic
Browse files

[Support][PPC] Fix bot failures due to cd53ded5

Commit https://reviews.llvm.org/rGcd53ded557c3 attempts to fix the
computation in computeHostNumPhysicalCores() to respect Affinity.
However, the GLIBC wrapper of the affinity system call fails with
a default size of cpu_set_t on systems that have more than 1024 CPUs.
This just fixes the computation on such large machines.
parent 1c0a0dfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment