• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Bindings.CLCommandQueueHandle类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: 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


示例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: RetainCommandQueue

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


示例4: Flush

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


示例5: EnqueueWriteBuffer

 public static extern ComputeErrorCode EnqueueWriteBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_write,
     IntPtr offset,
     IntPtr cb,
     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,代码行数:10,代码来源:CL10.cs


示例6: 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


示例7: EnqueueReleaseGLObjects

 public static extern ComputeErrorCode EnqueueReleaseGLObjects(
     CLCommandQueueHandle command_queue,
     Int32 num_objects,
     [MarshalAs(UnmanagedType.LPArray)] CLMemoryHandle[] mem_objects,
     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


示例8: EnqueueMarker

 public static extern ComputeErrorCode EnqueueMarker(
     CLCommandQueueHandle command_queue,
     out CLEventHandle new_event);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:3,代码来源:CL10.cs


示例9: EnqueueWriteBufferRect

 public ComputeErrorCode EnqueueWriteBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] 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, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs


示例10: 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


示例11: 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


示例12: EnqueueTask

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


示例13: EnqueueSVMUnMap

 public ComputeErrorCode EnqueueSVMUnMap(CLCommandQueueHandle command_queue, IntPtr svm_ptr, IntPtr size, 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


示例14: EnqueueSVMMemcpy

 public ComputeErrorCode EnqueueSVMMemcpy(CLCommandQueueHandle command_queue, ComputeBoolean blocking_copy, IntPtr dst_ptr, IntPtr src_ptr, IntPtr size, 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


示例15: 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


示例16: EnqueueMapImage

 public static extern 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, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
开发者ID:aokomoriuta,项目名称:StudiesOfOpenTK,代码行数:13,代码来源:CL10.cs


示例17: EnqueueWriteImage

 public 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 CLEventHandle new_event)
 {
     return StaticEnqueueWriteImage(command_queue, image, blocking_write, ref origin, ref region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs


示例18: EnqueueNDRangeKernel

 public static extern ComputeErrorCode EnqueueNDRangeKernel(
     CLCommandQueueHandle command_queue,
     CLKernelHandle kernel,
     Int32 work_dim,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] global_work_offset,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] global_work_size,
     [MarshalAs(UnmanagedType.LPArray)] IntPtr[] local_work_size,
     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,代码行数:10,代码来源:CL10.cs


示例19: EnqueueTask

 public static extern ComputeErrorCode EnqueueTask(
     CLCommandQueueHandle command_queue,
     CLKernelHandle kernel,
     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,代码行数:6,代码来源:CL10.cs


示例20: Flush

 public ComputeErrorCode Flush(CLCommandQueueHandle command_queue)
 {
     return StaticFlush(command_queue);
 }
开发者ID:nathanpackard,项目名称:openCLoo,代码行数:4,代码来源:CL10.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Bindings.CLContextHandle类代码示例发布时间:2022-05-24
下一篇:
C# Cloo.ComputeContext类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap