Exemplo n.º 1
0
 public static extern CLError clEnqueueUnmapMemObject(
     CLCommandQueue command_queue,
     CLMem memobj,
     IntPtr mapped_ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Exemplo n.º 2
0
 public static extern CLMem clCreateSubBuffer(
     CLMem buffer,
     CLMemFlags flags,
     CLBufferCreateType buffer_create_type,
     [MarshalAs(UnmanagedType.LPStruct)]
     CLBufferRegion buffer_create_info,
     ref CLError errcode_ret);
Exemplo n.º 3
0
 public static extern CLError clEnqueueFillImage(
     CLCommandQueue command_queue,
     CLMem image,
     IntPtr fill_color,
     [In] SizeT[] origin,
     [In] SizeT[] region,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Exemplo n.º 4
0
 public static extern CLError clEnqueueFillBuffer(
     CLCommandQueue command_queue,
     CLMem buffer,
     IntPtr pattern,
     SizeT pattern_size,
     SizeT offset,
     SizeT size,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Exemplo n.º 5
0
 public static extern CLError clEnqueueCopyBufferToImage(
     CLCommandQueue command_queue,
     CLMem src_buffer,
     CLMem dst_image,
     SizeT src_offset,
     SizeT[] dst_origin,
     SizeT[] region,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Exemplo n.º 6
0
 public static extern CLError clEnqueueCopyImageToBuffer(
     CLCommandQueue command_queue,
     CLMem src_image,
     CLMem dst_buffer,
     SizeT[] src_origin,
     SizeT[] region,
     SizeT dst_offset,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Exemplo n.º 7
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);
Exemplo n.º 8
0
 public static extern CLError clEnqueueCopyBuffer(
     CLCommandQueue command_queue,
     CLMem src_buffer,
     CLMem dst_buffer,
     SizeT src_offset,
     SizeT dst_offset,
     SizeT cb,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Exemplo n.º 9
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);
Exemplo n.º 10
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);
Exemplo n.º 11
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);
Exemplo n.º 12
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);
Exemplo n.º 13
0
 public static extern CLError clEnqueueCopyBufferRect(
     CLCommandQueue command_queue,
     CLMem src_buffer,
     CLMem dst_buffer,
     [In] SizeT[] src_origin,
     [In] SizeT[] dst_origin,
     [In] SizeT[] region,
     SizeT src_row_pitch,
     SizeT src_slice_pitch,
     SizeT dst_row_pitch,
     SizeT dst_slice_pitch,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Exemplo n.º 14
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);
Exemplo n.º 15
0
 public static extern CLError clRetainMemObject(CLMem memobj);
Exemplo n.º 16
0
 public static extern CLMem clCreateSubBuffer(
     CLMem buffer,
     CLMemFlags flags,
     CLBufferCreateType buffer_create_type,
     IntPtr buffer_create_info,
     ref CLError errcode_ret);
Exemplo n.º 17
0
 public static extern CLError clReleaseMemObject(CLMem memobj);
Exemplo n.º 18
0
 public static extern CLError clSetKernelArg(
     CLKernel kernel,
     uint arg_index,
     SizeT arg_size,
     ref CLMem arg_value);
Exemplo n.º 19
0
 public static extern CLError clSetMemObjectDestructorCallback(
     CLMem memobj,
     DestructionFunction pfn_notify,
     IntPtr user_data);
Exemplo n.º 20
0
 public static extern CLError clGetPipeInfo(
     CLMem pipe,
     CLPipeInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Exemplo n.º 21
0
 public static extern CLError clGetImageInfo(
     CLMem image,
     CLImageInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Exemplo n.º 22
0
 public static extern CLError clGetMemObjectInfo(
     CLMem memobj,
     CLMemInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);