Beispiel #1
0
 public static extern Error clEnqueueReadImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_read, IntPtr[] origin, IntPtr[] region, IntPtr row_pitch, IntPtr slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, out OpenCLEvent e);
Beispiel #2
0
 public static Error clWaitForEvents(Int32 num_events, ref OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clWaitForEvents(Int32 num_events, ref OpenCLEvent e)");
     return default(Error);
 }
Beispiel #3
0
 public static extern Error clEnqueueCopyImageToBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_image, OpenCLMem dst_buffer, IntPtr[] src_origin, IntPtr[] region, IntPtr dst_offset, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #4
0
 public static Error clEnqueueWriteImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_write, IntPtr[] origin, IntPtr[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueWriteImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_write, IntPtr[] origin, IntPtr[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #5
0
 public static Error clGetEventProfilingInfo(OpenCLEvent e, ProfilingInfo param_name, IntPtr param_value_size, [Out] Byte[] param_value, out IntPtr param_value_size_ret)
 {
     param_value_size_ret = default(IntPtr);
     Console.WriteLine("Calling Error clGetEventProfilingInfo(OpenCLEvent e, ProfilingInfo param_name, IntPtr param_value_size, [Out] Byte[] param_value, out IntPtr param_value_size_ret)");
     return default(Error);
 }
Beispiel #6
0
        public static Error clEnqueueReadBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, out OpenCLEvent e)
        {
            Marshal.WriteInt32(ptr, 0, 1);
            Marshal.WriteInt32(ptr, 1, 2);
            Marshal.WriteInt32(ptr, 2, 3);

            e = default(OpenCLEvent);
            Console.WriteLine("Calling Error clEnqueueReadBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_read, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, out OpenCLEvent e)");
            return default(Error);
        }
Beispiel #7
0
 public static Error clEnqueueUnmapMemObject(OpenCLCommandQueue command_queue, OpenCLMem memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueUnmapMemObject(OpenCLCommandQueue command_queue, OpenCLMem memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #8
0
 public static extern Error clGetEventProfilingInfo(OpenCLEvent e, ProfilingInfo param_name, IntPtr param_value_size, [Out] Byte[] param_value, out IntPtr param_value_size_ret);
Beispiel #9
0
 public static extern Error clReleaseEvent(OpenCLEvent e);
Beispiel #10
0
 public static extern Error clEnqueueWriteImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_write, IntPtr[] origin, IntPtr[] region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #11
0
 public static extern Error clGetEventInfo(OpenCLEvent e, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, IntPtr param_value_size_ret);
Beispiel #12
0
 public static extern Error clEnqueueWriteBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #13
0
 public static extern Error clEnqueueUnmapMemObject(OpenCLCommandQueue command_queue, OpenCLMem memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #14
0
 public static extern Error clEnqueueTask(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #15
0
 public static Error clEnqueueNativeKernel(OpenCLCommandQueue command_queue, UserFunction user_func, [In] IntPtr[] args, IntPtr cb_args, Int32 num_mem_objects, [In] OpenCLMem[] mem_list, [In] IntPtr[] args_mem_loc, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueNativeKernel(OpenCLCommandQueue command_queue, UserFunction user_func, [In] IntPtr[] args, IntPtr cb_args, Int32 num_mem_objects, [In] OpenCLMem[] mem_list, [In] IntPtr[] args_mem_loc, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #16
0
 public static extern Error clRetainEvent(OpenCLEvent e);
Beispiel #17
0
 public static Error clEnqueueNDRangeKernel(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 work_dim, [In] IntPtr[] global_work_offset, [In] IntPtr[] global_work_size, [In] IntPtr[] local_work_size, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueNDRangeKernel(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 work_dim, [In] IntPtr[] global_work_offset, [In] IntPtr[] global_work_size, [In] IntPtr[] local_work_size, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #18
0
 public static extern Error clWaitForEvents(Int32 num_events, ref OpenCLEvent e);
Beispiel #19
0
 public static Error clEnqueueTask(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueTask(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #20
0
 public static Error clEnqueueCopyBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_buffer, OpenCLMem dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, out OpenCLEvent e)
 {
     e = default(OpenCLEvent);
     Console.WriteLine("Calling Error clEnqueueCopyBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_buffer, OpenCLMem dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, out OpenCLEvent e)");
     return default(Error);
 }
Beispiel #21
0
 public static Error clEnqueueWriteBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueWriteBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #22
0
 public static Error clEnqueueCopyImageToBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_image, OpenCLMem dst_buffer, IntPtr[] src_origin, IntPtr[] region, IntPtr dst_offset, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueCopyImageToBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_image, OpenCLMem dst_buffer, IntPtr[] src_origin, IntPtr[] region, IntPtr dst_offset, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #23
0
 public static Error clGetEventInfo(OpenCLEvent e, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, IntPtr param_value_size_ret)
 {
     Console.WriteLine("Calling Error clGetEventInfo(OpenCLEvent e, EventInfo param_name, IntPtr param_value_size, IntPtr param_value, IntPtr param_value_size_ret)");
     return default(Error);
 }
Beispiel #24
0
 public static IntPtr clEnqueueMapBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_map, Map map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e, Error error)
 {
     Console.WriteLine("Calling IntPtr clEnqueueMapBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_map, Map map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e, Error error)");
     return default(IntPtr);
 }
Beispiel #25
0
 public static Error clRetainEvent(OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clRetainEvent(OpenCLEvent e)");
     return default(Error);
 }
Beispiel #26
0
 public static IntPtr clEnqueueMapImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_map, Map map_flags, IntPtr[] origin, IntPtr[] region, IntPtr image_row_pitch, IntPtr image_slice_pitch, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e, Error error)
 {
     Console.WriteLine("Calling IntPtr clEnqueueMapImage(OpenCLCommandQueue command_queue, OpenCLMem image, Boolean blocking_map, Map map_flags, IntPtr[] origin, IntPtr[] region, IntPtr image_row_pitch, IntPtr image_slice_pitch, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e, Error error)");
     return default(IntPtr);
 }
Beispiel #27
0
 public static extern Error clEnqueueCopyBuffer(OpenCLCommandQueue command_queue, OpenCLMem src_buffer, OpenCLMem dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);
Beispiel #28
0
 public static Error clEnqueueMarker(OpenCLCommandQueue command_queue, OpenCLEvent e)
 {
     Console.WriteLine("Calling Error clEnqueueMarker(OpenCLCommandQueue command_queue, OpenCLEvent e)");
     return default(Error);
 }
Beispiel #29
0
 public static extern IntPtr clEnqueueMapBuffer(OpenCLCommandQueue command_queue, OpenCLMem buffer, Boolean blocking_map, Map map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e, Error error);
Beispiel #30
0
 public static extern Error clEnqueueNDRangeKernel(OpenCLCommandQueue command_queue, OpenCLKernel kernel, Int32 work_dim, [In] IntPtr[] global_work_offset, [In] IntPtr[] global_work_size, [In] IntPtr[] local_work_size, Int32 num_events_in_wait_list, [In] OpenCLEvent[] event_wait_list, OpenCLEvent e);