예제 #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);
예제 #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);
예제 #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);
예제 #4
0
 public static extern CLError clSetKernelExecInfo(
     CLKernel kernel,
     CLKernelExecInfo param_name,
     SizeT param_value_size,
     ref CLBool param_value);
예제 #5
0
 public static extern CLError clSetKernelExecInfo(
     CLKernel kernel,
     CLKernelExecInfo param_name,
     SizeT param_value_size,
     [In] IntPtr[] param_value);
예제 #6
0
 public static extern CLError clSetKernelArgSVMPointer(
     CLKernel kernel,
     uint arg_index,
     IntPtr arg_value);
예제 #7
0
 public static extern CLError clSetKernelArg(
     CLKernel kernel,
     uint arg_index,
     SizeT arg_size,
     [In] double[] arg_value);
예제 #8
0
 public static extern CLError clSetKernelArg(
     CLKernel kernel,
     uint arg_index,
     SizeT arg_size,
     ref float arg_value);
예제 #9
0
 public static extern CLError clReleaseKernel(CLKernel kernel);
예제 #10
0
 public static extern CLError clRetainKernel(CLKernel kernel);
예제 #11
0
 public static extern CLKernel clCloneKernel(
     CLKernel source_kernel,
     ref CLError errcode_ret);
예제 #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);