示例#1
0
 public CLMemoryHandle CreateImage2D(CLContextHandle context, ComputeMemoryFlags flags, ref ComputeImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_row_pitch, IntPtr host_ptr, out ComputeErrorCode errcode_ret)
 {
     return StaticCreateImage2D(context, flags,ref image_format, image_width, image_height, image_row_pitch, host_ptr, out errcode_ret);
 }
示例#2
0
 public static extern CLMemoryHandle CreateImage3D(
     CLContextHandle context,
     ComputeMemoryFlags flags,
     ref ComputeImageFormat image_format,
     IntPtr image_width,
     IntPtr image_height,
     IntPtr image_depth,
     IntPtr image_row_pitch,
     IntPtr image_slice_pitch,
     IntPtr host_ptr,
     out ComputeErrorCode errcode_ret);
示例#3
0
 public static extern CLMemoryHandle StaticCreateImage(CLContextHandle context, ComputeMemoryFlags flags, ref ComputeImageFormat image_format, ref ComputeImageDescription image_desc, IntPtr host_ptr, out ComputeErrorCode errcode_ret);
示例#4
0
 public CLMemoryHandle CreateImage(CLContextHandle context, ComputeMemoryFlags flags, ref ComputeImageFormat image_format, ref ComputeImageDescription image_desc, IntPtr host_ptr, out ComputeErrorCode errcode_ret)
 {
     throw new NotImplementedException();
 }
示例#5
0
 new CLMemoryHandle CreateImage3D(CLContextHandle context, ComputeMemoryFlags flags, ref ComputeImageFormat image_format, IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch, IntPtr image_slice_pitch, IntPtr host_ptr, out ComputeErrorCode errcode_ret)
 {
     Trace.WriteLine("WARNING! CreateImage3D has been deprecated in OpenCL 1.2.");
     return CL11.StaticCreateImage3D(context, flags, ref image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, out errcode_ret);
 }
示例#6
0
 public static unsafe extern ComputeErrorCode GetSupportedImageFormats(
     IntPtr context,
     ComputeMemoryFlags flags,
     ComputeMemoryType image_type,
     Int32 num_entries,
     ComputeImageFormat* image_formats,
     Int32* num_image_formats);
示例#7
0
 public static unsafe extern IntPtr CreateImage3D(
     IntPtr context,
     ComputeMemoryFlags flags,
     ComputeImageFormat* image_format,
     IntPtr image_width,
     IntPtr image_height,
     IntPtr image_depth,
     IntPtr image_row_pitch,
     IntPtr image_slice_pitch,
     /* void* */ IntPtr host_ptr,
     ComputeErrorCode* errcode_ret);
示例#8
0
 CLMemoryHandle ICL10.CreateImage3D(CLContextHandle context, ComputeMemoryFlags flags, ref ComputeImageFormat image_format,
                                    IntPtr image_width, IntPtr image_height, IntPtr image_depth, IntPtr image_row_pitch,
                                    IntPtr image_slice_pitch, IntPtr host_ptr, out ComputeErrorCode errcode_ret)
 {
     return CreateImage3D(context, flags, ref image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, out errcode_ret);
 }
示例#9
0
 ComputeErrorCode ICL10.GetSupportedImageFormats(CLContextHandle context, ComputeMemoryFlags flags,
                                                 ComputeMemoryType image_type, int num_entries,
                                                 ComputeImageFormat[] image_formats, out int num_image_formats)
 {
     return GetSupportedImageFormats(context, flags, image_type, num_entries, image_formats, out num_image_formats);
 }