diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2023-04-19 17:33:41 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2023-04-20 14:23:33 +0100 |
commit | c4116975a5d396f3503b86c0c8cbfe6fffcb146b (patch) | |
tree | 9a7ba4075731dc1c091c4acedd0ef0e789c3df3a /gcc/tree-ssa-loop-split.cc | |
parent | e7f0cec3b8e43e287ecde4183b40d786f0acc917 (diff) | |
download | gcc-c4116975a5d396f3503b86c0c8cbfe6fffcb146b.zip gcc-c4116975a5d396f3503b86c0c8cbfe6fffcb146b.tar.gz gcc-c4116975a5d396f3503b86c0c8cbfe6fffcb146b.tar.bz2 |
amdgcn, openmp: Fix concurrency in low-latency allocator
The previous code works fine on Fiji and Vega 10 devices, but bogs down in The
spin locks on Vega 20 or newer. Adding the sleep instructions fixes the
problem.
libgomp/ChangeLog:
* basic-allocator.c (basic_alloc_free): Use BASIC_ALLOC_YIELD.
(basic_alloc_realloc): Use BASIC_ALLOC_YIELD.
Diffstat (limited to 'gcc/tree-ssa-loop-split.cc')
0 files changed, 0 insertions, 0 deletions