示例#1
0
 internal static extern CLError clReleaseKernel(CLKernel kernel);
示例#2
0
 internal static extern CLError clRetainKernel(CLKernel kernel);
示例#3
0
 internal static extern CLError clGetKernelInfo(CLKernel kernel, CLKernelInfo param_name, SizeT param_value_size, IntPtr param_value, ref SizeT param_value_size_ret);
示例#4
0
 internal static extern CLError clGetKernelWorkGroupInfo(CLKernel kernel, CLDeviceID device, CLKernelWorkGroupInfo param_name, SizeT param_value_size, IntPtr param_value, ref SizeT param_value_size_ret);
示例#5
0
        internal override void SetAsKernelArgument(CLKernel kernel, int index)
        {
            var clMem = new CLMem
            {
                Value = openCLSampler.Value
            };

            OpenCLError.Validate(OpenCLDriver.clSetKernelArg(kernel, index, new SizeT(IntPtr.Size), ref clMem));
        }
示例#6
0
 internal static extern CLError clEnqueueTask(CLCommandQueue command_queue, CLKernel kernel, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
示例#7
0
 internal static extern CLError clSetKernelArg(CLKernel kernel, int arg_index, SizeT arg_size, int[] arg_value);
示例#8
0
 internal abstract void SetAsKernelArgument(CLKernel kernel, Int32 index);
示例#9
0
 internal static extern CLError clRetainKernel(CLKernel kernel);
示例#10
0
 internal static extern CLError clSetKernelArg(CLKernel kernel, int arg_index, SizeT arg_size, ref CLSampler arg_value);
示例#11
0
 internal static extern CLError clReleaseKernel(CLKernel kernel);
示例#12
0
 internal static extern CLError clGetKernelWorkGroupInfo(CLKernel kernel, CLDeviceID device, CLKernelWorkGroupInfo param_name, SizeT param_value_size, IntPtr param_value, ref SizeT param_value_size_ret);
示例#13
0
 internal static extern CLError clGetKernelInfo(CLKernel kernel, CLKernelInfo param_name, SizeT param_value_size, IntPtr param_value, ref SizeT param_value_size_ret);
示例#14
0
 internal static extern CLError clSetKernelArg(CLKernel kernel, int arg_index, SizeT arg_size, ref CLSampler arg_value);
示例#15
0
 internal static extern CLError clEnqueueNDRangeKernel(CLCommandQueue command_queue, CLKernel kernel, int work_dim, [In] SizeT[] global_work_offset, [In] SizeT[] global_work_size, [In] SizeT[] local_work_size, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
示例#16
0
 internal static extern CLError clSetKernelArg(CLKernel kernel, int arg_index, SizeT arg_size, int[] arg_value);
示例#17
0
 internal static extern CLError clEnqueueNDRangeKernel(CLCommandQueue command_queue, CLKernel kernel, int work_dim, [In] SizeT[] global_work_offset, [In] SizeT[] global_work_size, [In] SizeT[] local_work_size, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
示例#18
0
 internal override void SetAsKernelArgument(CLKernel kernel, int index)
 {
     OpenCLError.Validate(OpenCLDriver.clSetKernelArg(kernel, index, new SizeT(IntPtr.Size), ref openCLMem));
 }
示例#19
0
 internal static extern CLError clEnqueueTask(CLCommandQueue command_queue, CLKernel kernel, int num_events_in_wait_list, [In] CLEvent[] event_wait_list, ref CLEvent e);
示例#20
0
 internal override void SetAsKernelArgument(CLKernel kernel, Int32 index)
 {
     OpenCLError.Validate(OpenCLDriver.clSetKernelArg(kernel, index, new SizeT(IntPtr.Size), memObjects));
 }
示例#21
0
 internal override void SetAsKernelArgument(CLKernel kernel, int index)
 {
     throw new NotImplementedException ();
 }