hanchenye-llvm-project/openmp
Jonathan Peyton 7c465a5f41 Fix bitmask upper bounds check
Rather than checking KMP_CPU_SETSIZE, which doesn't exist when using Hwloc, we
use the get_max_proc() function which can vary based on the operating system.
For example on Windows with multiple processor groups, it might be the case that
the highest bit possible in the bitmask is not equal to the number of hardware
threads on the machine but something higher than that.

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

llvm-svn: 281245
2016-09-12 19:02:53 +00:00
..
offload Liboffload: Patch for MPSS > 3.4.x (provided by Tim Cramer) 2015-05-06 10:58:40 +00:00
runtime Fix bitmask upper bounds check 2016-09-12 19:02:53 +00:00
testsuite Apply name change to testsuite file. 2015-06-01 04:24:23 +00:00
www Remove trailing whitespace in READMEs, CREDITS.txt and index.html 2016-05-17 20:48:42 +00:00
CMakeLists.txt [CMake] Introduce OPENMP_LLVM_TOOLS_DIR 2016-02-05 07:00:13 +00:00
CREDITS.txt Fork performance improvements 2016-05-23 18:01:19 +00:00
LICENSE.txt Update copyright year in LICENSE.txt 2016-05-17 20:11:26 +00:00