Bugfixes for the ipc unit tests

Tento commit je obsažen v:
Brandon Potter
2024-09-26 13:40:05 -05:00
rodič 46fdb1851c
revize f85c46ec0a
4 změnil soubory, kde provedl 30 přidání a 1 odebrání
+1 -1
Zobrazit soubor
@@ -64,7 +64,7 @@ class IpcOnImpl {
__device__ void ipcCopy_wave(void *dst, void *src, size_t size);
__device__ void ipcFence() { __threadfence(); }
__device__ void ipcFence() { __threadfence_system(); }
template <typename T>
__device__ T ipcAMOFetchAdd(T *val, T value) {
+8
Zobrazit soubor
@@ -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: