Пример #1
0
 ComputeErrorCode ICL10.EnqueueWriteImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, bool blocking_write,
                                          ref SysIntX3 origin, ref SysIntX3 region, IntPtr input_row_pitch,
                                          IntPtr input_slice_pitch, IntPtr ptr, int num_events_in_wait_list,
                                          CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueWriteImage(command_queue, image, blocking_write, ref origin, ref region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, new_event));
 }
Пример #2
0
 ComputeErrorCode ICL10.EnqueueCopyBufferToImage(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                                 CLMemoryHandle dst_image, IntPtr src_offset, ref SysIntX3 dst_origin,
                                                 ref SysIntX3 region, int num_events_in_wait_list,
                                                 CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, ref dst_origin, ref region, num_events_in_wait_list, event_wait_list, new_event));
 }
Пример #3
0
 public new static ComputeErrorCode EnqueueMarker(
     CLCommandQueueHandle command_queue,
     out CLEventHandle new_event)
 {
     Trace.WriteLine("WARNING! clEnqueueMarker has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueMarker(command_queue, out new_event));
 }
Пример #4
0
 ComputeErrorCode ICL10.EnqueueCopyBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                          CLMemoryHandle dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb,
                                          int num_events_in_wait_list, CLEventHandle[] event_wait_list,
                                          CLEventHandle[] new_event)
 {
     return(EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, cb, num_events_in_wait_list, event_wait_list, new_event));
 }
Пример #5
0
 public extern static 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);
Пример #6
0
 public extern static 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);
Пример #7
0
 public new static ComputeErrorCode EnqueueMarker(
     CLCommandQueueHandle command_queue,
     out CLEventHandle new_event)
 {
     RILogManager.Default?.SendTrace("WARNING! clEnqueueMarker has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueMarker(command_queue, out new_event));
 }
Пример #8
0
 IntPtr ICL10.EnqueueMapImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, bool blocking_map,
                              ComputeMemoryMappingFlags map_flags, ref SysIntX3 origin, ref SysIntX3 region,
                              out IntPtr image_row_pitch, out IntPtr image_slice_pitch, int num_events_in_wait_list,
                              CLEventHandle[] event_wait_list, CLEventHandle[] new_event, out ComputeErrorCode errcode_ret)
 {
     return(EnqueueMapImage(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, new_event, out errcode_ret));
 }
Пример #9
0
 ComputeErrorCode ICL10.EnqueueNDRangeKernel(CLCommandQueueHandle command_queue, CLKernelHandle kernel, int work_dim,
                                             IntPtr[] global_work_offset, IntPtr[] global_work_size, IntPtr[] local_work_size,
                                             int num_events_in_wait_list, CLEventHandle[] event_wait_list,
                                             CLEventHandle[] new_event)
 {
     return(EnqueueNDRangeKernel(command_queue, kernel, work_dim, global_work_offset, global_work_size, local_work_size, num_events_in_wait_list, event_wait_list, new_event));
 }
Пример #10
0
 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);
 }
Пример #11
0
 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);
 }
Пример #12
0
 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));
 }
Пример #13
0
 public new static ComputeErrorCode EnqueueWaitForEvents(
     CLCommandQueueHandle command_queue,
     Int32 num_events,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_list)
 {
     Trace.WriteLine("WARNING! clEnqueueWaitForEvents has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueWaitForEvents(command_queue, num_events, event_list));
 }
Пример #14
0
 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));
 }
Пример #15
0
 new public static ComputeErrorCode SetCommandQueueProperty(
     CLCommandQueueHandle command_queue,
     ComputeCommandQueueFlags properties,
     [MarshalAs(UnmanagedType.Bool)] bool enable,
     out ComputeCommandQueueFlags old_properties)
 {
     //Console.WriteLine("WARNING! clSetCommandQueueProperty has been deprecated in OpenCL 1.1.");
     return(CL10.SetCommandQueueProperty(command_queue, properties, enable, out old_properties));
 }
Пример #16
0
 public new static ComputeErrorCode SetCommandQueueProperty(
     CLCommandQueueHandle command_queue,
     ComputeCommandQueueFlags properties,
     [MarshalAs(UnmanagedType.Bool)] bool enable,
     out ComputeCommandQueueFlags old_properties)
 {
     RILogManager.Default?.SendTrace("WARNING! clSetCommandQueueProperty has been deprecated in OpenCL 1.1.");
     return(CL10.SetCommandQueueProperty(command_queue, properties, enable, out old_properties));
 }
Пример #17
0
 public extern static ComputeErrorCode EnqueueCopyBufferToImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_buffer,
     CLMemoryHandle dst_image,
     IntPtr src_offset,
     ref SysIntX3 dst_origin,
     ref SysIntX3 region,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
Пример #18
0
 public static extern ComputeErrorCode EnqueueFillBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     IntPtr pattern,
     IntPtr pattern_size,
     IntPtr offset,
     IntPtr size,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
Пример #19
0
 public extern static ComputeErrorCode EnqueueReadBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_read,
     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);
Пример #20
0
 public extern static 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);
Пример #21
0
 extern static ComputeErrorCode EnqueueCopyBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_buffer,
     CLMemoryHandle dst_buffer,
     IntPtr src_offset,
     IntPtr dst_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);
Пример #22
0
 public extern static 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);
Пример #23
0
 public extern static 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);
Пример #24
0
 public extern static 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);
Пример #25
0
 public static extern ComputeErrorCode 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,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
Пример #26
0
 public extern static ComputeErrorCode EnqueueReadBufferRect(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_read,
     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,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
Пример #27
0
 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();
 }
Пример #28
0
 public extern static ComputeErrorCode EnqueueBarrier(
     CLCommandQueueHandle command_queue);
Пример #29
0
 public extern static ComputeErrorCode Finish(
     CLCommandQueueHandle command_queue);
Пример #30
0
 public 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 CLEventHandle new_event)
 {
     return StaticEnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, cb, ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
Пример #31
0
 public extern static ComputeErrorCode EnqueueMarker(
     CLCommandQueueHandle command_queue,
     out CLEventHandle new_event);
Пример #32
0
 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, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
Пример #33
0
 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();
 }
Пример #34
0
 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);
Пример #35
0
 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);
Пример #36
0
 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);
Пример #37
0
 public static extern ComputeErrorCode EnqueueMarker(
     CLCommandQueueHandle command_queue,
     out CLEventHandle new_event);
Пример #38
0
 public ComputeErrorCode Flush(CLCommandQueueHandle command_queue)
 {
     return StaticFlush(command_queue);
 }
Пример #39
0
 public static extern 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, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
Пример #40
0
 public static extern ComputeErrorCode EnqueueBarrier(
     CLCommandQueueHandle command_queue);
Пример #41
0
 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();
 }
Пример #42
0
 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);
Пример #43
0
 public ComputeErrorCode GetCommandQueueInfo(CLCommandQueueHandle command_queue, ComputeCommandQueueInfo param_name, IntPtr param_value_size, IntPtr param_value, out IntPtr param_value_size_ret)
 {
     return StaticGetCommandQueueInfo(command_queue, param_name, param_value_size, param_value, out param_value_size_ret);
 }
Пример #44
0
 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);
Пример #45
0
 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);
 }
Пример #46
0
 public static extern ComputeErrorCode EnqueueWaitForEvents(
     CLCommandQueueHandle command_queue,
     Int32 num_events,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_list);
Пример #47
0
 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();
 }
Пример #48
0
 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);
Пример #49
0
 public extern static 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);
Пример #50
0
 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);
Пример #51
0
 public extern static ComputeErrorCode EnqueueWaitForEvents(
     CLCommandQueueHandle command_queue,
     Int32 num_events,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_list);
Пример #52
0
 public static extern ComputeErrorCode Flush(
     CLCommandQueueHandle command_queue);
Пример #53
0
 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);
 }
Пример #54
0
 public static extern ComputeErrorCode GetCommandQueueInfo(
     CLCommandQueueHandle command_queue,
     ComputeCommandQueueInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
Пример #55
0
 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);
 }
Пример #56
0
 public static extern ComputeErrorCode RetainCommandQueue(
     CLCommandQueueHandle command_queue);
Пример #57
0
 ReleaseCommandQueue(
     CLCommandQueueHandle command_queue);
Пример #58
0
 public static extern ComputeErrorCode SetCommandQueueProperty(
     CLCommandQueueHandle command_queue,
     ComputeCommandQueueFlags properties,
     [MarshalAs(UnmanagedType.Bool)] bool enable,
     out ComputeCommandQueueFlags old_properties);
Пример #59
0
 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);
Пример #60
0
 public ComputeErrorCode RetainCommandQueue(CLCommandQueueHandle command_queue)
 {
     return StaticRetainCommandQueue(command_queue);
 }