Return a mask of hardware units the calling thread may run on.
Synopsis
Declared in <llvm/Support/Threading.h>
llvm::BitVector
get_thread_affinity_mask();
Description
The mask covers hardware threads, cores, CPUs, and NUMA groups. On Windows, threads cannot cross CPU socket boundaries.
Return Value
Bit mask of hardware units available to the calling thread.
Created with MrDocs