public static CLError CreateBuffer( IntPtr context, CLBufferFlags flags, IntPtr size, IntPtr hostPointer, out IntPtr buffer) { buffer = NativeMethods.CreateBuffer( context, flags, size, hostPointer, out CLError errorStatus); return(errorStatus); }
public static extern IntPtr CreateBuffer( IntPtr context, CLBufferFlags flags, IntPtr size, IntPtr hostPointer, out CLError errorCode);