Exemplo n.º 1
0
 public static extern CLMem clCreateImage(
     CLContext context,
     CLMemFlags flags,
     [MarshalAs(UnmanagedType.LPStruct)]
     CLImageFormat image_format,
     [MarshalAs(UnmanagedType.LPStruct)]
     CLImageDesc image_desc,
     IntPtr host_ptr,
     IntPtr errcode_ret);
Exemplo n.º 2
0
 public static extern CLMem clCreateImage2D(
     CLContext context,
     CLMemFlags flags,
     ref CLImageFormat image_format,
     SizeT image_width,
     SizeT image_height,
     SizeT image_row_pitch,
     IntPtr host_ptr,
     ref CLError errcode_ret);