public InterprocessMemory(string label) { nint ptr = KokkosLibrary.IpcOpenExisting(executionSpaceType, new NativeString <Serial>(label)); ulong size = KokkosLibrary.IpcGetSize(executionSpaceType, ptr); Pointer = new NativePointer(ptr, size); }
public ulong GetSize() { return(KokkosLibrary.IpcGetSize(executionSpaceType, Pointer.Data)); }