Exemple #1
0
 public static Event Copy(CommandQueue commandQueue, SVMBuffer src, int srcByteOffset, SVMBuffer dst, int dstByteOffset, int byteSize, bool blocking)
 => Copy(
     commandQueue,
     src.Pointer, srcByteOffset,
     dst.Pointer, dstByteOffset,
     byteSize,
     blocking
     );
 public FloatSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(float))
 {
 }
 public LongSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(long))
 {
 }
 public IntSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(int))
 {
 }
 public ShortSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(short))
 {
 }
 public CharSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(char))
 {
 }
 public ByteSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(byte))
 {
 }
 public DoubleSVMBuffer(SVMBuffer origin, int lengthX, int lengthY, int lengthZ)
     : base(origin, lengthX, lengthY, lengthZ, sizeof(double))
 {
 }
Exemple #9
0
 public SVMBuffer(SVMBuffer origin)
 {
     Size    = origin.Size;
     Context = origin.Context;
     Pointer = origin.Pointer;
 }