Пример #1
0
 public static extern CLError clEnqueueSVMMemcpy(
     CLCommandQueue command_queue,
     CLBool blocking_copy,
     IntPtr dst_ptr,
     IntPtr src_ptr,
     SizeT size,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Пример #2
0
 public static extern CLError clEnqueueSVMMap(
     CLCommandQueue command_queue,
     CLBool blocking_map,
     CLMapFlags flags,
     IntPtr svm_ptr,
     SizeT size,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Пример #3
0
 public static extern CLError clEnqueueWriteBuffer(
     CLCommandQueue command_queue,
     CLMem buffer,
     CLBool blocking_write,
     SizeT offset,
     SizeT cb,
     IntPtr ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Пример #4
0
 public static extern IntPtr clEnqueueMapBuffer(
     CLCommandQueue command_queue,
     CLMem buffer,
     CLBool blocking_map,
     CLMapFlags map_flags,
     SizeT offset,
     SizeT cb,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e,
     ref CLError errcode_ret);
Пример #5
0
 public static extern CLError clEnqueueWriteImage(
     CLCommandQueue command_queue,
     CLMem image,
     CLBool blocking_write,
     SizeT[] origin,
     SizeT[] region,
     SizeT input_row_pitch,
     SizeT input_slice_pitch,
     IntPtr ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Пример #6
0
 public static extern CLError clEnqueueReadImage(
     CLCommandQueue command_queue,
     CLMem image,
     CLBool blocking_read,
     SizeT[] origin,
     SizeT[] region,
     SizeT row_pitch,
     SizeT slice_pitch,
     IntPtr ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Пример #7
0
 public static extern IntPtr clEnqueueMapImage(
     CLCommandQueue command_queue,
     CLMem image,
     CLBool blocking_map,
     CLMapFlags map_flags,
     SizeT[] origin,
     SizeT[] region,
     ref SizeT image_row_pitch,
     ref SizeT image_slice_pitch,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e,
     ref CLError errcode_ret);
Пример #8
0
 public static extern CLError clEnqueueWriteBufferRect(
     CLCommandQueue command_queue,
     CLMem buffer,
     CLBool blocking_read,
     [In] SizeT[] buffer_origin,
     [In] SizeT[] host_origin,
     [In] SizeT[] region,
     SizeT buffer_row_pitch,
     SizeT buffer_slice_pitch,
     SizeT host_row_pitch,
     SizeT host_slice_pitch,
     IntPtr ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Пример #9
0
 internal static extern CLError clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, CLBool blocking_read, SizeT offset, SizeT cb, IntPtr ptr, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
Пример #10
0
 public static extern CLError clSetKernelExecInfo(
     CLKernel kernel,
     CLKernelExecInfo param_name,
     SizeT param_value_size,
     ref CLBool param_value);
Пример #11
0
 internal static extern CLError clEnqueueWriteImage(CLCommandQueue command_queue, CLMem image, CLBool blocking_write, SizeT[] origin, SizeT[] region, SizeT input_row_pitch, SizeT input_slice_pitch, IntPtr ptr, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
Пример #12
0
 public static extern CLError clSetCommandQueueProperty(
     CLCommandQueue command_queue,
     CLCommandQueueProperties properties,
     CLBool enable,
     ref CLCommandQueueProperties old_properties);
Пример #13
0
 public static extern CLSampler clCreateSampler(
     CLContext context,
     CLBool normalized_coords,
     CLAddressingMode addressing_mode,
     CLFilterMode filter_mode,
     ref CLError errcode_ret);
Пример #14
0
 internal static extern CLError clSetCommandQueueProperty(CLCommandQueue command_queue, CLCommandQueueProperties properties, CLBool enable, ref CLCommandQueueProperties old_properties);
Пример #15
0
 internal static extern CLSampler clCreateSampler(CLContext context, CLBool normalized_coords, CLAddressingMode addressing_mode, CLFilterMode filter_mode, ref CLError errcode_ret);
Пример #16
0
 internal static extern IntPtr clEnqueueMapBuffer(CLCommandQueue command_queue, CLMem buffer, CLBool blocking_map, CLMapFlags map_flags, SizeT offset, SizeT cb, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e, ref CLError errcode_ret);
Пример #17
0
 internal static extern CLError clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, CLBool blocking_write, SizeT offset, SizeT cb, IntPtr ptr, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
Пример #18
0
 internal static extern IntPtr clEnqueueMapImage(CLCommandQueue command_queue, CLMem image, CLBool blocking_map, CLMapFlags map_flags, SizeT[] origin, SizeT[] region, ref SizeT image_row_pitch, ref SizeT image_slice_pitch, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e, ref CLError errcode_ret);