aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-10-08 17:55:54 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-10-08 17:55:54 +0000
commitdd4aa9b6b5fe4eb4d029b294ef2592c95f360087 (patch)
tree5a7d5570a4e18aaf342e8fc292e253993fa84db1 /clang/lib/CodeGen/CodeGenModule.cpp
parent68a39a65650e517a3358242147fe3ecf2c15e4b7 (diff)
downloadllvm-dd4aa9b6b5fe4eb4d029b294ef2592c95f360087.zip
llvm-dd4aa9b6b5fe4eb4d029b294ef2592c95f360087.tar.gz
llvm-dd4aa9b6b5fe4eb4d029b294ef2592c95f360087.tar.bz2
Added sockets to the syntax of KMP_PLACE_THREADS environment variable.
Added (optional) sockets to the syntax of the KMP_PLACE_THREADS environment variable. Some limitations: * The number of sockets and then optional offset should be specified first (before other parameters). * The letter designation is mandatory for sockets and then for other parameters. * If number of cores is specified first, then the number of sockets is defaulted to all sockets on the machine; also, the old syntax is partially supported if sockets are skipped. * If number of threads per core is specified first, then the number of sockets and cores per socket are defaulted to all sockets and all cores per socket respectively. * The number of cores per socket cannot be specified before sockets or after threads per core. * The number of threads per core can be specified before or after core-offset (old syntax required it to be before core-offset); * Parameters delimiter can be: empty, comma, lower-case x; * Spaces are allowed around numbers, around letters, around delimiter. Approximate shorthand specification: KMP_PLACE_THREADS="[num_sockets(S|s)[[delim]offset(O|o)][delim]][num_cores_per_socket(C|c)[[delim]offset(O|o)][delim]][num_threads_per_core(T|t)]" Differential Revision: http://reviews.llvm.org/D13175 llvm-svn: 249708
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions