Ejemplo n.º 1
0
        public InterprocessMemory(string label)
        {
            nint ptr = KokkosLibrary.IpcOpenExisting(executionSpaceType, new NativeString <Serial>(label));

            ulong size = KokkosLibrary.IpcGetSize(executionSpaceType, ptr);

            Pointer = new NativePointer(ptr, size);
        }
Ejemplo n.º 2
0
 public ulong GetSize()
 {
     return(KokkosLibrary.IpcGetSize(executionSpaceType, Pointer.Data));
 }