forked from OSchip/llvm-project
244e98ff48
Currently the runtime implementation of `__kmpc_alloc_shared` is extremely slow because it allocated memory for each thread individually. This patch adds a small buffer for the threads to share data and will greatly improve performance for builds where all globalization could not be optimized out. If the shared buffer is full, then memory will not only be allocated per-warp rather than per-thread. Depends on D97680 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D104666 |
||
---|---|---|
.. | ||
include/target | ||
src | ||
allocator.h | ||
debug.h | ||
device_environment.h | ||
generated_microtask_cases.gen | ||
omptarget.h | ||
omptargeti.h | ||
state-queue.h | ||
state-queuei.h | ||
support.h |