[all-commits] [llvm/llvm-project] 1e3bbf: [OpenMP] Re-use affinity raii class in worker spaw...
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Mon Jul 24 13:59:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e3bbf76a1b7be003f41d4a58f672d311b8577d7
https://github.com/llvm/llvm-project/commit/1e3bbf76a1b7be003f41d4a58f672d311b8577d7
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_runtime.cpp
Log Message:
-----------
[OpenMP] Re-use affinity raii class in worker spawning
Get rid of explicit mask alloc, getthreadaffinity, set temp affinity,
reset to old affinity, dealloc steps in favor of existing
kmp_affinity_raii_t to push/pop a temporary affinity.
Differential Revision: https://reviews.llvm.org/D154650
More information about the All-commits
mailing list