Пример #1
0
        // CommandQueue methods

        public Event EnqueueReadBuffer <T> (Mem <T> buffer, bool blockingRead, T[] ptr) where T : struct
        {
            return(EnqueueReadBuffer(buffer, blockingRead, ptr, null));
        }
Пример #2
0
 public Event EnqueueFillBuffer <T> (Mem <T> buffer, T pattern, Event[] eventWaitList) where T : struct
 {
     return(EnqueueFillBuffer(buffer, new T[] { pattern }, 0, buffer.Size, eventWaitList));
 }
Пример #3
0
 public Event EnqueueFillBuffer <T> (Mem <T> buffer, T pattern) where T : struct
 {
     return(EnqueueFillBuffer(buffer, pattern, null));
 }
Пример #4
0
 public Event EnqueueWriteBuffer <T> (Mem <T> buffer, bool blockingWrite, T[] ptr) where T : struct
 {
     return(EnqueueWriteBuffer(buffer, blockingWrite, ptr, null));
 }
Пример #5
0
 public MemDebugView(Mem <T> mem)
 {
     this.mem = mem;
 }
Пример #6
0
        // IEquatable

        public bool Equals(Mem <T> other)
        {
            return(this.handle == other.handle);
        }