示例#1
0
 public static extern CLMem clCreatePipe(
     CLContext context,
     CLMemFlags flags,
     uint pipe_packet_size,
     uint pipe_max_packets,
     [In] IntPtr[] properties,
     IntPtr errcode_ret);
示例#2
0
 public static extern CLError clGetSupportedImageFormats(
     CLContext context,
     CLMemFlags flags,
     CLMemObjectType image_type,
     uint num_entries,
     [Out] CLImageFormat[] image_formats,
     ref uint num_image_formats);
示例#3
0
 public static extern CLMem clCreateSubBuffer(
     CLMem buffer,
     CLMemFlags flags,
     CLBufferCreateType buffer_create_type,
     [MarshalAs(UnmanagedType.LPStruct)]
     CLBufferRegion buffer_create_info,
     ref CLError errcode_ret);
示例#4
0
 public static extern CLMem clCreateFromGLTexture3D(
     CLContext context,
     CLMemFlags flags,
     int target,
     int miplevel,
     uint texture,
     IntPtr errcode_ret);
示例#5
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);
示例#6
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);
示例#7
0
 public static extern CLMem clCreateSubBuffer(
     CLMem buffer,
     CLMemFlags flags,
     CLBufferCreateType buffer_create_type,
     IntPtr buffer_create_info,
     ref CLError errcode_ret);
示例#8
0
 internal static extern CLError clCreateFromGLRenderbuffer(CLContext context, CLMemFlags flags, int renderbuffer, ref CLError errcode_ret);
示例#9
0
 public static extern CLMem clCreateFromGLBuffer(
     CLContext context,
     CLMemFlags flags,
     uint bufobj,
     IntPtr errcode_ret);
示例#10
0
 internal static extern CLMem clCreateBuffer(CLContext context, CLMemFlags flags, SizeT size, IntPtr host_ptr, ref CLError errcode_ret);
示例#11
0
 internal static extern CLError clGetSupportedImageFormats(CLContext context, CLMemFlags flags, CLMemObjectType image_type, int num_entries, [Out] CLImageFormat[] image_formats, ref int num_image_formats);
示例#12
0
 internal static extern CLError clGetSupportedImageFormats(CLContext context, CLMemFlags flags, CLMemObjectType image_type, int num_entries, IntPtr image_formats, ref int num_image_formats);
示例#13
0
 internal static extern CLMem clCreateFromGLTexture3D(CLContext context, CLMemFlags flags, int target, int miplevel, uint texture, ref CLError errcode_ret);
示例#14
0
 internal static extern CLError clCreateFromGLRenderbuffer(CLContext context, CLMemFlags flags, int renderbuffer, ref CLError errcode_ret);
示例#15
0
 internal static extern CLError clCreateFromGLBuffer(CLContext context, CLMemFlags flags, int bufobj, ref CLError errcode_ret);
示例#16
0
 internal static extern CLMem clCreateFromGLTexture3D(CLContext context, CLMemFlags flags, int target, int miplevel, uint texture, ref CLError errcode_ret);
示例#17
0
 public static extern CLMem clCreateFromGLRenderbuffer(
     CLContext context,
     CLMemFlags flags,
     uint renderbuffer,
     IntPtr errcode_ret);
示例#18
0
 internal static extern CLMem clCreateImage3D(CLContext context, CLMemFlags flags, ref CLImageFormat image_format, SizeT image_width, SizeT image_height, SizeT image_depth, SizeT image_row_pitch, SizeT image_slice_pitch, IntPtr host_ptr, ref CLError errcode_ret);
示例#19
0
 public static extern CLMem clCreateBuffer(
     CLContext context,
     CLMemFlags flags,
     SizeT size,
     IntPtr host_ptr,
     ref CLError errcode_ret);
示例#20
0
 internal static extern CLError clCreateFromGLBuffer(CLContext context, CLMemFlags flags, int bufobj, ref CLError errcode_ret);