当前位置: 首页>>代码示例>>C#>>正文


C# Bindings.CLMemoryHandle类代码示例

本文整理汇总了C#中Cloo.Bindings.CLMemoryHandle的典型用法代码示例。如果您正苦于以下问题:C# CLMemoryHandle类的具体用法?C# CLMemoryHandle怎么用?C# CLMemoryHandle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CLMemoryHandle类属于Cloo.Bindings命名空间,在下文中一共展示了CLMemoryHandle类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ComputeImage3D

        private ComputeImage3D(CLMemoryHandle handle, ComputeContext context, ComputeMemoryFlags flags)
            : base(context, flags)
        {
            Handle = handle;

            Init();
        }
开发者ID:Dutchman97,项目名称:ConcurrencyPracticum3,代码行数:7,代码来源:ComputeImage3D.cs

示例2: EnqueueCopyBufferRect

 ComputeErrorCode ICL11.EnqueueCopyBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                              CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 dst_origin,
                                              ref SysIntX3 region, IntPtr src_row_pitch, IntPtr src_slice_pitch,
                                              IntPtr dst_row_pitch, IntPtr dst_slice_pitch, int num_events_in_wait_list,
                                              CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, ref src_origin, ref dst_origin, ref region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, new_event);
 }
开发者ID:Togene,项目名称:BeCalm,代码行数:8,代码来源:CL11.cs

示例3: EnqueueWriteBufferRect

 ComputeErrorCode ICL11.EnqueueWriteBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, bool blocking_write,
                                               ref SysIntX3 buffer_offset, ref SysIntX3 host_offset, ref SysIntX3 region,
                                               IntPtr buffer_row_pitch, IntPtr buffer_slice_pitch, IntPtr host_row_pitch,
                                               IntPtr host_slice_pitch, IntPtr ptr, int num_events_in_wait_list,
                                               CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return EnqueueWriteBufferRect(command_queue, buffer, blocking_write, ref buffer_offset, ref host_offset, ref region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, new_event);
 }
开发者ID:Togene,项目名称:BeCalm,代码行数:8,代码来源:CL11.cs

示例4: GetPipeInfo

 public ComputeErrorCode GetPipeInfo(CLMemoryHandle pipe, ComputePipeInfo param_name, IntPtr param_value_size, IntPtr param_value, out IntPtr param_value_size_ret)
 {
     throw new NotImplementedException();
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例5: EnqueueCopyImageToBuffer

 public ComputeErrorCode EnqueueCopyImageToBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle src_image, CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 region, IntPtr dst_offset, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, ref src_origin, ref region, dst_offset, num_events_in_wait_list, event_wait_list, out new_event);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例6: RetainMemObject

 public static extern ComputeErrorCode RetainMemObject(
     CLMemoryHandle memobj);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:2,代码来源:CL10.cs

示例7: GetImageInfo

 public static extern ComputeErrorCode GetImageInfo(
     CLMemoryHandle image,
     ComputeImageInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:6,代码来源:CL10.cs

示例8: EnqueueWriteImage

 public static extern ComputeErrorCode EnqueueWriteImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle image,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_write,
     ref SysIntX3 origin,
     ref SysIntX3 region,
     IntPtr input_row_pitch,
     IntPtr input_slice_pitch,
     IntPtr ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:12,代码来源:CL10.cs

示例9: EnqueueUnmapMemObject

 public static extern ComputeErrorCode EnqueueUnmapMemObject(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle memobj,
     IntPtr mapped_ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:7,代码来源:CL10.cs

示例10: EnqueueMapBuffer

 public static extern IntPtr EnqueueMapBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_map,
     ComputeMemoryMappingFlags map_flags,
     IntPtr offset,
     IntPtr cb,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:11,代码来源:CL10.cs

示例11: EnqueueWriteBuffer

 public ComputeErrorCode EnqueueWriteBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, [MarshalAs(UnmanagedType.LPArray, SizeConst = 1), Out] CLEventHandle[] new_event)
 {
     throw new NotImplementedException();
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例12: EnqueueUnmapMemObject

 public ComputeErrorCode EnqueueUnmapMemObject(CLCommandQueueHandle command_queue, CLMemoryHandle memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例13: EnqueueMapImage

 public IntPtr EnqueueMapImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, [MarshalAs(UnmanagedType.Bool)] bool blocking_map, ComputeMemoryMappingFlags map_flags, ref SysIntX3 origin, ref SysIntX3 region, out IntPtr image_row_pitch, out IntPtr image_slice_pitch, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event, out ComputeErrorCode errcode_ret)
 {
     return StaticEnqueueMapImage(command_queue, image, blocking_map, map_flags, ref origin, ref region, out image_row_pitch, out image_slice_pitch, num_events_in_wait_list, event_wait_list, out new_event, out errcode_ret);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例14: EnqueueMapBuffer

 public IntPtr EnqueueMapBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_map, ComputeMemoryMappingFlags map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event, out ComputeErrorCode errcode_ret)
 {
     return StaticEnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, cb, num_events_in_wait_list, event_wait_list, out new_event, out errcode_ret);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs

示例15: EnqueueFillImage

 public ComputeErrorCode EnqueueFillImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, IntPtr fill_color, ref SysIntX3 origin, ref SysIntX3 region, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs


注:本文中的Cloo.Bindings.CLMemoryHandle类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。