Bugfixes for the ipc unit tests

[ROCm/rocshmem commit: f85c46ec0a]
This commit is contained in:
Brandon Potter
2024-09-26 13:40:05 -05:00
parent 56c1626df1
commit 325ce3cba7
4 changed files with 30 additions and 1 deletions
@@ -98,6 +98,14 @@ class NotifierProxy {
using ProxyT = DeviceProxy<ALLOCATOR, Notifier<scope>>;
public:
NotifierProxy() {
new (proxy_.get()) Notifier<scope>();
}
~NotifierProxy() {
proxy_.get()->~Notifier<scope>();
}
__host__ __device__ Notifier<scope>* get() { return proxy_.get(); }
private: