Пример #1
0
 public static extern CLError clBuildProgram(
     CLProgram program,
     uint num_devices,
     [In] CLDeviceID[] device_list,
     IntPtr options,
     NotifyFunction func,
     IntPtr user_data);
Пример #2
0
 public static extern CLError clGetProgramBuildInfo(
     CLProgram program,
     CLDeviceID device,
     CLProgramBuildInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
Пример #3
0
 public static extern CLError clCompileProgram(
     CLProgram program,
     uint num_devices,
     [In] CLDeviceID[] device_list,
     string options,
     uint num_input_headers,
     [In] CLProgram[] input_headers,
     [In] IntPtr[] header_include_names,
     NotifyFunction pfn_notify,
     IntPtr user_data);
Пример #4
0
 public static extern CLError clCreateKernelsInProgram(
     CLProgram program,
     uint num_kernels,
     [Out] CLKernel[] kernels,
     ref uint num_kernels_ret);
Пример #5
0
 public static extern CLKernel clCreateKernel(
     CLProgram program,
     string kernel_name,
     ref CLError errcode_ret);
Пример #6
0
 public static extern CLError clSetProgramSpecializationConstant(
     CLProgram program,
     uint spec_id,
     SizeT spec_size,
     IntPtr spec_value);
Пример #7
0
 public static extern CLError clSetProgramReleaseCallback(
     CLProgram program,
     NotifyFunction pfn_notify,
     IntPtr user_data);
Пример #8
0
 public static extern CLError clReleaseProgram(CLProgram program);
Пример #9
0
 public static extern CLError clRetainProgram(CLProgram program);