Example #1
0
 public static extern CLError clGetKernelWorkGroupInfo(
     CLKernel kernel,
     CLDeviceID device,
     CLKernelWorkGroupInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Example #2
0
 public static extern CLError clGetKernelArgInfo(
     CLKernel kernel,
     uint arg_indx,
     CLKernelArgInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Example #3
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 #4
0
 public static extern CLError clSetKernelExecInfo(
     CLKernel kernel,
     CLKernelExecInfo param_name,
     SizeT param_value_size,
     ref CLBool param_value);
Example #5
0
 public static extern CLError clSetKernelExecInfo(
     CLKernel kernel,
     CLKernelExecInfo param_name,
     SizeT param_value_size,
     [In] IntPtr[] param_value);
Example #6
0
 public static extern CLError clSetKernelArgSVMPointer(
     CLKernel kernel,
     uint arg_index,
     IntPtr arg_value);
Example #7
0
 public static extern CLError clSetKernelArg(
     CLKernel kernel,
     uint arg_index,
     SizeT arg_size,
     [In] double[] arg_value);
Example #8
0
 public static extern CLError clSetKernelArg(
     CLKernel kernel,
     uint arg_index,
     SizeT arg_size,
     ref float arg_value);
Example #9
0
 public static extern CLError clReleaseKernel(CLKernel kernel);
Example #10
0
 public static extern CLError clRetainKernel(CLKernel kernel);
Example #11
0
 public static extern CLKernel clCloneKernel(
     CLKernel source_kernel,
     ref CLError errcode_ret);
Example #12
0
 public static extern CLError clEnqueueTask(
     CLCommandQueue command_queue,
     CLKernel kernel,
     uint num_events_in_wait_list,
     [In] CLEvent[] event_wait_list,
     IntPtr e);