Example #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);
Example #2
0
 public static extern CLError clEnqueueMigrateMemObjects(
     CLCommandQueue command_queue,
     uint num_mem_objects,
     [In] CLMem[] mem_objects,
     CLMemMigrationFlags flags,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Example #3
0
 public static extern CLError clEnqueueSVMMemFill(
     CLCommandQueue command_queue,
     IntPtr svm_ptr,
     IntPtr pattern,
     SizeT pattern_size,
     SizeT size,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Example #4
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);
Example #5
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);
Example #6
0
 public static extern CLError clEnqueueSVMMigrateMem(
     CLCommandQueue command_queue,
     uint num_svm_pointers,
     [In] IntPtr[] svm_pointers,
     [In] SizeT[] sizes,
     CLMemMigrationFlags flags,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Example #7
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);
Example #8
0
 public static extern CLError clEnqueueSVMFree(
     CLCommandQueue command_queue,
     uint num_svm_pointers,
     [In] IntPtr[] svm_pointers,
     SVMFreeFunction pfn_free_func,
     IntPtr user_data,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Example #9
0
 public static extern CLError clEnqueueNDRangeKernel(
     CLCommandQueue command_queue,
     CLKernel kernel,
     uint work_dim,
     [In] SizeT[] global_work_offset,
     [In] SizeT[] global_work_size,
     [In] SizeT[] local_work_size,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Example #10
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);
Example #11
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);
Example #12
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);
Example #13
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);
Example #14
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);
Example #15
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);
Example #16
0
 public static extern CLError clEnqueueNativeKernel(
     CLCommandQueue command_queue,
     UserFunction user_func,
     [In] IntPtr[] args,
     SizeT cb_args,
     uint num_mem_objects,
     [In] CLMem[] mem_list,
     [In] IntPtr[] args_mem_loc,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);
Example #17
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);
Example #18
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);
Example #19
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);
Example #20
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);
Example #21
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);
Example #22
0
 public static extern CLError clFinish(CLCommandQueue command_queue);
Example #23
0
 public static extern CLError clSetCommandQueueProperty(
     CLCommandQueue command_queue,
     CLCommandQueueProperties properties,
     CLBool enable,
     ref CLCommandQueueProperties old_properties);
Example #24
0
 public static extern CLError clGetCommandQueueInfo(
     CLCommandQueue command_queue,
     CLCommandQueueInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Example #25
0
 public static extern CLError clReleaseCommandQueue(CLCommandQueue command_queue);
Example #26
0
 public static extern CLError clEnqueueBarrier(CLCommandQueue command_queue);
Example #27
0
 public static extern CLError clEnqueueSVMUnmap(
     CLCommandQueue command_queue,
     IntPtr svm_ptr,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Example #28
0
 public static extern CLError clEnqueueBarrierWithWaitList(
     CLCommandQueue command_queue,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     ref CLEvent e);
Example #29
0
 public static extern CLError clRetainCommandQueue(CLCommandQueue command_queue);
Example #30
0
 public static extern CLError clEnqueueWaitForEvents(
     CLCommandQueue command_queue,
     uint num_events,
     [In] CLEvent[] event_list);