commit | 9f1bc35236816b3b0fa3360372084f3a73097311 | [log] [tgz] |
---|---|---|
author | Joseph Huber <jhuber6@vols.utk.edu> | Mon Nov 15 23:04:55 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 16 05:21:07 2021 -0800 |
tree | 9eebe502b7ec15f68b8806e407b18e05c1ff4621 | |
parent | 7f73dfeadca69f6cdbf7488f1d95ea12d58356df [diff] |
[OpenMP] Fix initializer not working on AMDGPU The RAII class used for debugging RTL entry used a shared variable to keep track of the current depth. This used a global initializer, which isn't supported on AMDGPU. This patch removes the initializer and instead sets it to zero when the state is initialized in the runtime. Reviewed By: jdoerfert, JonChesterfield Differential Revision: https://reviews.llvm.org/D113963 GitOrigin-RevId: 374cd0fb6102a8726da0e6036b3c484aca32c61e