예제 #1
0
 ComputeErrorCode ICL10.EnqueueCopyBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                          CLMemoryHandle dst_buffer, IntPtr src_offset, IntPtr dst_offset, IntPtr cb,
                                          int num_events_in_wait_list, CLEventHandle[] event_wait_list,
                                          CLEventHandle[] new_event)
 {
     return(EnqueueCopyBuffer(command_queue, src_buffer, dst_buffer, src_offset, dst_offset, cb, num_events_in_wait_list, event_wait_list, new_event));
 }
예제 #2
0
 ComputeErrorCode ICL10.EnqueueWriteImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, bool blocking_write,
                                          ref SysIntX3 origin, ref SysIntX3 region, IntPtr input_row_pitch,
                                          IntPtr input_slice_pitch, IntPtr ptr, int num_events_in_wait_list,
                                          CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueWriteImage(command_queue, image, blocking_write, ref origin, ref region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, new_event));
 }
        private ComputeImage3D(CLMemoryHandle handle, ComputeContext context, ComputeMemoryFlags flags)
            : base(context, flags)
        {
            Handle = handle;

            Init();
        }
예제 #4
0
 ComputeErrorCode ICL10.EnqueueCopyBufferToImage(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                                 CLMemoryHandle dst_image, IntPtr src_offset, ref SysIntX3 dst_origin,
                                                 ref SysIntX3 region, int num_events_in_wait_list,
                                                 CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueCopyBufferToImage(command_queue, src_buffer, dst_image, src_offset, ref dst_origin, ref region, num_events_in_wait_list, event_wait_list, new_event));
 }
예제 #5
0
 IntPtr ICL10.EnqueueMapImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, bool blocking_map,
                              ComputeMemoryMappingFlags map_flags, ref SysIntX3 origin, ref SysIntX3 region,
                              out IntPtr image_row_pitch, out IntPtr image_slice_pitch, int num_events_in_wait_list,
                              CLEventHandle[] event_wait_list, CLEventHandle[] new_event, out ComputeErrorCode errcode_ret)
 {
     return(EnqueueMapImage(command_queue, image, blocking_map, map_flags, ref origin, ref region, out image_row_pitch, out image_slice_pitch, num_events_in_wait_list, event_wait_list, new_event, out errcode_ret));
 }
예제 #6
0
 public extern static ComputeErrorCode EnqueueUnmapMemObject(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle memobj,
     IntPtr mapped_ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #7
0
파일: CL11.cs 프로젝트: Togene/BeCalm
 ComputeErrorCode ICL11.EnqueueWriteBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, bool blocking_write,
                                               ref SysIntX3 buffer_offset, ref SysIntX3 host_offset, ref SysIntX3 region,
                                               IntPtr buffer_row_pitch, IntPtr buffer_slice_pitch, IntPtr host_row_pitch,
                                               IntPtr host_slice_pitch, IntPtr ptr, int num_events_in_wait_list,
                                               CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return EnqueueWriteBufferRect(command_queue, buffer, blocking_write, ref buffer_offset, ref host_offset, ref region, buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, new_event);
 }
예제 #8
0
파일: CL11.cs 프로젝트: Togene/BeCalm
 ComputeErrorCode ICL11.EnqueueCopyBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                              CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 dst_origin,
                                              ref SysIntX3 region, IntPtr src_row_pitch, IntPtr src_slice_pitch,
                                              IntPtr dst_row_pitch, IntPtr dst_slice_pitch, int num_events_in_wait_list,
                                              CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, ref src_origin, ref dst_origin, ref region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, new_event);
 }
예제 #9
0
 ComputeErrorCode ICL11.EnqueueCopyBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer,
                                              CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 dst_origin,
                                              ref SysIntX3 region, IntPtr src_row_pitch, IntPtr src_slice_pitch,
                                              IntPtr dst_row_pitch, IntPtr dst_slice_pitch, int num_events_in_wait_list,
                                              CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueCopyBufferRect(command_queue, src_buffer, dst_buffer, ref src_origin, ref dst_origin, ref region, src_row_pitch, src_slice_pitch, dst_row_pitch, dst_slice_pitch, num_events_in_wait_list, event_wait_list, new_event));
 }
예제 #10
0
 public extern static ComputeErrorCode EnqueueReadBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_read,
     IntPtr offset,
     IntPtr cb,
     IntPtr ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #11
0
 public static extern ComputeErrorCode EnqueueFillBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     IntPtr pattern,
     IntPtr pattern_size,
     IntPtr offset,
     IntPtr size,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #12
0
 extern static ComputeErrorCode EnqueueCopyBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_buffer,
     CLMemoryHandle dst_buffer,
     IntPtr src_offset,
     IntPtr dst_offset,
     IntPtr cb,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #13
0
 public extern static ComputeErrorCode EnqueueCopyBufferToImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_buffer,
     CLMemoryHandle dst_image,
     IntPtr src_offset,
     ref SysIntX3 dst_origin,
     ref SysIntX3 region,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #14
0
 public extern static IntPtr EnqueueMapBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_map,
     ComputeMemoryMappingFlags map_flags,
     IntPtr offset,
     IntPtr cb,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
예제 #15
0
 public extern static ComputeErrorCode EnqueueWriteImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle image,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_write,
     ref SysIntX3 origin,
     ref SysIntX3 region,
     IntPtr input_row_pitch,
     IntPtr input_slice_pitch,
     IntPtr ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #16
0
 public extern static IntPtr EnqueueMapImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle image,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_map,
     ComputeMemoryMappingFlags map_flags,
     ref SysIntX3 origin,
     ref SysIntX3 region,
     out IntPtr image_row_pitch,
     out IntPtr image_slice_pitch,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
예제 #17
0
 public static extern ComputeErrorCode EnqueueCopyBufferRect(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_buffer,
     CLMemoryHandle dst_buffer,
     ref SysIntX3 src_origin,
     ref SysIntX3 dst_origin,
     ref SysIntX3 region,
     IntPtr src_row_pitch,
     IntPtr src_slice_pitch,
     IntPtr dst_row_pitch,
     IntPtr dst_slice_pitch,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #18
0
 public extern static ComputeErrorCode EnqueueReadBufferRect(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_read,
     ref SysIntX3 buffer_offset,
     ref SysIntX3 host_offset,
     ref SysIntX3 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,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event);
예제 #19
0
 ComputeErrorCode ICL10.GetImageInfo(CLMemoryHandle image, ComputeImageInfo param_name, IntPtr param_value_size,
                                     IntPtr param_value, out IntPtr param_value_size_ret)
 {
     return(GetImageInfo(image, param_name, param_value_size, param_value, out param_value_size_ret));
 }
예제 #20
0
 public static extern ComputeErrorCode GetMemObjectInfo(
     CLMemoryHandle memobj,
     ComputeMemoryInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
예제 #21
0
 public extern static ComputeErrorCode GetImageInfo(
     CLMemoryHandle image,
     ComputeImageInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
예제 #22
0
 public static extern ComputeErrorCode EnqueueWriteBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_write,
     IntPtr offset,
     IntPtr cb,
     IntPtr ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
예제 #23
0
 public static extern ComputeErrorCode GetGLObjectInfo(
     CLMemoryHandle memobj,
     out ComputeGLObjectType gl_object_type,
     out Int32 gl_object_name);
예제 #24
0
 ComputeErrorCode ICL10.GetGLObjectInfo(CLMemoryHandle memobj, out ComputeGLObjectType gl_object_type, out int gl_object_name)
 {
     return(GetGLObjectInfo(memobj, out gl_object_type, out gl_object_name));
 }
예제 #25
0
 public extern static ComputeErrorCode SetMemObjectDestructorCallback(
     CLMemoryHandle memobj,
     ComputeMemoryDestructorNotifer pfn_notify,
     IntPtr user_data);
예제 #26
0
 public ComputeErrorCode EnqueueUnmapMemObject(CLCommandQueueHandle command_queue, CLMemoryHandle memobj, IntPtr mapped_ptr, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
예제 #27
0
 public ComputeErrorCode EnqueueWriteBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, cb, ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
예제 #28
0
 public IntPtr EnqueueMapBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_map, ComputeMemoryMappingFlags map_flags, IntPtr offset, IntPtr cb, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event, out ComputeErrorCode errcode_ret)
 {
     return StaticEnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, cb, num_events_in_wait_list, event_wait_list, out new_event, out errcode_ret);
 }
예제 #29
0
 public IntPtr EnqueueMapImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, [MarshalAs(UnmanagedType.Bool)] bool blocking_map, ComputeMemoryMappingFlags map_flags, ref SysIntX3 origin, ref SysIntX3 region, out IntPtr image_row_pitch, out IntPtr image_slice_pitch, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event, out ComputeErrorCode errcode_ret)
 {
     return StaticEnqueueMapImage(command_queue, image, blocking_map, map_flags, ref origin, ref region, out image_row_pitch, out image_slice_pitch, num_events_in_wait_list, event_wait_list, out new_event, out errcode_ret);
 }
예제 #30
0
 public ComputeErrorCode EnqueueFillImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, IntPtr fill_color, ref SysIntX3 origin, ref SysIntX3 region, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
예제 #31
0
 public ComputeErrorCode EnqueueFillBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, IntPtr pattern, IntPtr pattern_size, IntPtr offset, IntPtr size, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
예제 #32
0
 public ComputeErrorCode EnqueueCopyImageToBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle src_image, CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 region, IntPtr dst_offset, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueCopyImageToBuffer(command_queue, src_image, dst_buffer, ref src_origin, ref region, dst_offset, num_events_in_wait_list, event_wait_list, out new_event);
 }
예제 #33
0
 ComputeErrorCode ICL10.ReleaseMemObject(CLMemoryHandle memobj)
 {
     return(ReleaseMemObject(memobj));
 }
예제 #34
0
 public ComputeErrorCode EnqueueWriteBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, IntPtr offset, IntPtr cb, IntPtr ptr, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, [MarshalAs(UnmanagedType.LPArray, SizeConst = 1), Out] CLEventHandle[] new_event)
 {
     throw new NotImplementedException();
 }
예제 #35
0
 public extern static ComputeErrorCode GetGLObjectInfo(
     CLMemoryHandle memobj,
     out ComputeGLObjectType gl_object_type,
     out Int32 gl_object_name);
예제 #36
0
 public ComputeErrorCode EnqueueWriteBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, ref SysIntX3 buffer_offset, ref SysIntX3 host_offset, ref SysIntX3 region, IntPtr buffer_row_pitch, IntPtr buffer_slice_pitch, IntPtr host_row_pitch, IntPtr host_slice_pitch, IntPtr ptr, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
예제 #37
0
 public extern static ComputeErrorCode GetMemObjectInfo(
     CLMemoryHandle memobj,
     ComputeMemoryInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
예제 #38
0
 public ComputeErrorCode EnqueueWriteImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, ref SysIntX3 origin, ref SysIntX3 region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, Int32 num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     return StaticEnqueueWriteImage(command_queue, image, blocking_write, ref origin, ref region, input_row_pitch, input_slice_pitch, ptr, num_events_in_wait_list, event_wait_list, out new_event);
 }
예제 #39
0
 public ComputeErrorCode EnqueueCopyBufferRect(CLCommandQueueHandle command_queue, CLMemoryHandle src_buffer, CLMemoryHandle dst_buffer, ref SysIntX3 src_origin, ref SysIntX3 dst_origin, ref SysIntX3 region, IntPtr src_row_pitch, IntPtr src_slice_pitch, IntPtr dst_row_pitch, IntPtr dst_slice_pitch, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, out CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
예제 #40
0
 IntPtr ICL10.EnqueueMapBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, bool blocking_map,
                               ComputeMemoryMappingFlags map_flags, IntPtr offset, IntPtr cb, int num_events_in_wait_list,
                               CLEventHandle[] event_wait_list, CLEventHandle[] new_event, out ComputeErrorCode errcode_ret)
 {
     return(EnqueueMapBuffer(command_queue, buffer, blocking_map, map_flags, offset, cb, num_events_in_wait_list, event_wait_list, new_event, out errcode_ret));
 }
예제 #41
0
 public static extern ComputeErrorCode EnqueueWriteImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle image,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_write,
     ref SysIntX3 origin,
     ref SysIntX3 region,
     IntPtr input_row_pitch,
     IntPtr input_slice_pitch,
     IntPtr ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
예제 #42
0
 public ComputeErrorCode GetGLObjectInfo(CLMemoryHandle memobj, out ComputeGLObjectType gl_object_type, out Int32 gl_object_name)
 {
     return StaticGetGLObjectInfo(memobj, out gl_object_type, out gl_object_name);
 }
예제 #43
0
 public static extern ComputeErrorCode GetImageInfo(
     CLMemoryHandle image,
     ComputeImageInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
예제 #44
0
 public ComputeErrorCode GetImageInfo(CLMemoryHandle image, ComputeImageInfo param_name, IntPtr param_value_size, IntPtr param_value, out IntPtr param_value_size_ret)
 {
     return StaticGetImageInfo(image, param_name, param_value_size, param_value, out param_value_size_ret);
 }
예제 #45
0
 public static extern ComputeErrorCode RetainMemObject(
     CLMemoryHandle memobj);
예제 #46
0
 public ComputeErrorCode GetMemObjectInfo(CLMemoryHandle memobj, ComputeMemoryInfo param_name, IntPtr param_value_size, IntPtr param_value, out IntPtr param_value_size_ret)
 {
     return StaticGetMemObjectInfo(memobj, param_name, param_value_size, param_value, out param_value_size_ret);
 }
예제 #47
0
 ComputeErrorCode ICL10.EnqueueWriteBuffer(CLCommandQueueHandle command_queue, CLMemoryHandle buffer, bool blocking_write,
                                           IntPtr offset, IntPtr cb, IntPtr ptr, int num_events_in_wait_list,
                                           CLEventHandle[] event_wait_list, CLEventHandle[] new_event)
 {
     return(EnqueueWriteBuffer(command_queue, buffer, blocking_write, offset, cb, ptr, num_events_in_wait_list, event_wait_list, new_event));
 }
예제 #48
0
 public ComputeErrorCode GetPipeInfo(CLMemoryHandle pipe, ComputePipeInfo param_name, IntPtr param_value_size, IntPtr param_value, out IntPtr param_value_size_ret)
 {
     throw new NotImplementedException();
 }
예제 #49
0
 ComputeErrorCode ICL10.GetMemObjectInfo(CLMemoryHandle memobj, ComputeMemoryInfo param_name, IntPtr param_value_size,
                                         IntPtr param_value, out IntPtr param_value_size_ret)
 {
     return(GetMemObjectInfo(memobj, param_name, param_value_size, param_value, out param_value_size_ret));
 }
예제 #50
0
 public ComputeErrorCode ReleaseMemObject(CLMemoryHandle memobj)
 {
     return StaticReleaseMemObject(memobj);
 }
예제 #51
0
 extern static ComputeErrorCode GetGLTextureInfo(
     CLMemoryHandle memobj,
     ComputeGLTextureInfo param_name,
     IntPtr param_value_size,
     IntPtr param_value,
     out IntPtr param_value_size_ret);
예제 #52
0
 public static extern ComputeErrorCode EnqueueCopyImageToBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle src_image,
     CLMemoryHandle dst_buffer,
     ref SysIntX3 src_origin,
     ref SysIntX3 region,
     IntPtr dst_offset,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
예제 #53
0
 extern static ComputeErrorCode RetainMemObject(
     CLMemoryHandle memobj);
예제 #54
0
 public static extern IntPtr EnqueueMapBuffer(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle buffer,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_map,
     ComputeMemoryMappingFlags map_flags,
     IntPtr offset,
     IntPtr cb,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
예제 #55
0
 public extern static ComputeErrorCode ReleaseMemObject(
     CLMemoryHandle memobj);
예제 #56
0
 public static extern IntPtr EnqueueMapImage(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle image,
     [MarshalAs(UnmanagedType.Bool)] bool blocking_map,
     ComputeMemoryMappingFlags map_flags,
     ref SysIntX3 origin,
     ref SysIntX3 region,
     out IntPtr image_row_pitch,
     out IntPtr image_slice_pitch,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst = 1)] CLEventHandle[] new_event,
     out ComputeErrorCode errcode_ret);
예제 #57
0
 public extern static CLMemoryHandle CreateSubBuffer(
     CLMemoryHandle buffer,
     ComputeMemoryFlags flags,
     ComputeBufferCreateType buffer_create_type,
     ref SysIntX2 buffer_create_info,
     out ComputeErrorCode errcode_ret);
예제 #58
0
 public static extern ComputeErrorCode EnqueueUnmapMemObject(
     CLCommandQueueHandle command_queue,
     CLMemoryHandle memobj,
     IntPtr mapped_ptr,
     Int32 num_events_in_wait_list,
     [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list,
     [Out, MarshalAs(UnmanagedType.LPArray, SizeConst=1)] CLEventHandle[] new_event);
예제 #59
0
 public ComputeErrorCode EnqueueWriteImage(CLCommandQueueHandle command_queue, CLMemoryHandle image, [MarshalAs(UnmanagedType.Bool)] bool blocking_write, ref SysIntX3 origin, ref SysIntX3 region, IntPtr input_row_pitch, IntPtr input_slice_pitch, IntPtr ptr, int num_events_in_wait_list, [MarshalAs(UnmanagedType.LPArray)] CLEventHandle[] event_wait_list, CLEventHandle new_event)
 {
     throw new NotImplementedException();
 }
예제 #60
0
 ComputeErrorCode ICL10.EnqueueUnmapMemObject(CLCommandQueueHandle command_queue, CLMemoryHandle memobj, IntPtr mapped_ptr,
                                              int num_events_in_wait_list, CLEventHandle[] event_wait_list,
                                              CLEventHandle[] new_event)
 {
     return(EnqueueUnmapMemObject(command_queue, memobj, mapped_ptr, num_events_in_wait_list, event_wait_list, new_event));
 }