// CommandQueue methods public Event EnqueueReadBuffer <T> (Mem <T> buffer, bool blockingRead, T[] ptr) where T : struct { return(EnqueueReadBuffer(buffer, blockingRead, ptr, null)); }
public Event EnqueueFillBuffer <T> (Mem <T> buffer, T pattern, Event[] eventWaitList) where T : struct { return(EnqueueFillBuffer(buffer, new T[] { pattern }, 0, buffer.Size, eventWaitList)); }
public Event EnqueueFillBuffer <T> (Mem <T> buffer, T pattern) where T : struct { return(EnqueueFillBuffer(buffer, pattern, null)); }
public Event EnqueueWriteBuffer <T> (Mem <T> buffer, bool blockingWrite, T[] ptr) where T : struct { return(EnqueueWriteBuffer(buffer, blockingWrite, ptr, null)); }
public MemDebugView(Mem <T> mem) { this.mem = mem; }
// IEquatable public bool Equals(Mem <T> other) { return(this.handle == other.handle); }