[Openmp-commits] [PATCH] D106515: [libomptarget][amdgpu][nfc] Drop dead signal pool setup
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jul 22 02:29:48 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc1f6f8b9231: [libomptarget][amdgpu][nfc] Drop dead signal pool setup (authored by JonChesterfield).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106515/new/
https://reviews.llvm.org/D106515
Files:
openmp/libomptarget/plugins/amdgpu/impl/internal.h
Index: openmp/libomptarget/plugins/amdgpu/impl/internal.h
===================================================================
--- openmp/libomptarget/plugins/amdgpu/impl/internal.h
+++ openmp/libomptarget/plugins/amdgpu/impl/internal.h
@@ -99,21 +99,7 @@
} // namespace core
struct SignalPoolT {
- SignalPoolT() {
- // If no signals are created, and none can be created later,
- // will ultimately fail at pop()
-
- unsigned N = 1024; // default max pool size from atmi
- for (unsigned i = 0; i < N; i++) {
- hsa_signal_t new_signal;
- hsa_status_t err = hsa_signal_create(0, 0, NULL, &new_signal);
- if (err != HSA_STATUS_SUCCESS) {
- break;
- }
- state.push(new_signal);
- }
- DEBUG_PRINT("Signal Pool Initial Size: %lu\n", state.size());
- }
+ SignalPoolT() {}
SignalPoolT(const SignalPoolT &) = delete;
SignalPoolT(SignalPoolT &&) = delete;
~SignalPoolT() {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106515.360744.patch
Type: text/x-patch
Size: 928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210722/763c8040/attachment.bin>
More information about the Openmp-commits
mailing list