Пример #1
0
 public static unsafe extern ComputeErrorCode EnqueueReadBufferRect(
     IntPtr command_queue,
     IntPtr buffer,
     ComputeBoolean blocking_read,
     IntPtr* buffer_offset,
     IntPtr* host_offset,
     IntPtr* 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,
     IntPtr* event_wait_list,
     IntPtr* new_event);
Пример #2
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();
 }
Пример #3
0
 public static unsafe new ComputeErrorCode SetCommandQueueProperty(
     IntPtr command_queue,
     ComputeCommandQueueFlags properties,
     ComputeBoolean enable,
     out ComputeCommandQueueFlags old_properties)
 {
     throw new NotSupportedException("This function has been deprecated in OpenCL 1.1");
 }
Пример #4
0
 public static unsafe extern ComputeErrorCode SetCommandQueueProperty(
     IntPtr command_queue,
     ComputeCommandQueueFlags properties,
     ComputeBoolean enable,
     ComputeCommandQueueFlags* old_properties);
Пример #5
0
 public ComputeErrorCode EnqueueSVMMap(CLCommandQueueHandle command_queue, ComputeBoolean blocking_map, ComputeMemoryMappingFlags flags, 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();
 }
Пример #6
0
 public static unsafe extern ComputeErrorCode EnqueueWriteBuffer(
     IntPtr command_queue,
     IntPtr buffer,
     ComputeBoolean blocking_write,
     IntPtr offset,
     IntPtr cb,
     /* const void* */ IntPtr ptr,
     Int32 num_events_in_wait_list,
     IntPtr* event_wait_list,
     IntPtr* new_event);
Пример #7
0
 public static unsafe extern ComputeErrorCode EnqueueWriteImage(
     IntPtr command_queue,
     IntPtr image,
     ComputeBoolean blocking_write,
     IntPtr* origin,
     IntPtr* region,
     IntPtr input_row_pitch,
     IntPtr input_slice_pitch,
     /* const void* */ IntPtr ptr,
     Int32 num_events_in_wait_list,
     IntPtr* event_wait_list,
     IntPtr* new_event);
Пример #8
0
 public static unsafe extern IntPtr EnqueueMapImage(
     IntPtr command_queue,
     IntPtr image,
     ComputeBoolean blocking_map,
     ComputeMemoryMappingFlags map_flags,
     IntPtr* origin,
     IntPtr* region,
     IntPtr* image_row_pitch,
     IntPtr* image_slice_pitch,
     Int32 num_events_in_wait_list,
     IntPtr* event_wait_list,
     IntPtr* new_event,
     ComputeErrorCode* errcode_ret);
Пример #9
0
 public static unsafe extern IntPtr EnqueueMapBuffer(
     IntPtr command_queue,
     IntPtr buffer,
     ComputeBoolean blocking_map,
     ComputeMemoryMappingFlags map_flags,
     IntPtr offset,
     IntPtr cb,
     Int32 num_events_in_wait_list,
     IntPtr* event_wait_list,
     IntPtr* new_event,
     ComputeErrorCode* errcode_ret);
Пример #10
0
 public static unsafe extern IntPtr CreateSampler(
     IntPtr context,
     ComputeBoolean normalized_coords,
     ComputeImageAddressing addressing_mode,
     ComputeImageFiltering filter_mode,
     ComputeErrorCode* errcode_ret);
Пример #11
0
 public static extern ComputeErrorCode StaticEnqueueSVMMemcpy(CLCommandQueueHandle command_queue, ComputeBoolean blocking_copy, IntPtr dst_ptr, IntPtr src_ptr, IntPtr size, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event);
Пример #12
0
 public static extern ComputeErrorCode StaticEnqueueSVMMap(CLCommandQueueHandle command_queue, ComputeBoolean blocking_map, ComputeMemoryMappingFlags flags, IntPtr svm_ptr, IntPtr size, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event);