diff options
| author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-07-22 10:29:30 +0100 | 
|---|---|---|
| committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-07-22 10:29:32 +0100 | 
| commit | dc1f6f8b92315fb90d9694df85ae2ce7a4a4f7e0 (patch) | |
| tree | 9fbbf1d8ac17688c638a4d5a73c97003cef5fa95 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | bd41136746a0b47882914cee5a8d1ac6714288d1 (diff) | |
| download | llvm-dc1f6f8b92315fb90d9694df85ae2ce7a4a4f7e0.zip llvm-dc1f6f8b92315fb90d9694df85ae2ce7a4a4f7e0.tar.gz llvm-dc1f6f8b92315fb90d9694df85ae2ce7a4a4f7e0.tar.bz2 | |
[libomptarget][amdgpu][nfc] Drop dead signal pool setup
This class is instantiated once in rtl.cpp before hsa_init is
called. The hsa_signal_create call therefore fails leaving the pool empty.
This signal pool is a legacy from ATMI where it was constructed after hsa_init.
Moving the state into the rtl.cpp global class disabled the initial populating
of the pool without noticeably changing performance. Just rechecked with a fix
that allocates the signals after hsa_init and that also doesn't noticeably
change performance.
This patch therefore drops the initialisation. Only change from main is to
drop a DEBUG_PRINT statement that would say the pool initial size is zero.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106515
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
