示例#1
0
 public static extern CLProgram clCreateProgramWithSource(
     CLContext context,
     uint count,
     [In] IntPtr[] strings,
     [In] SizeT[] lengths,
     ref CLError errcode_ret);
示例#2
0
 public static extern CLSampler clCreateSampler(
     CLContext context,
     CLBool normalized_coords,
     CLAddressingMode addressing_mode,
     CLFilterMode filter_mode,
     ref CLError errcode_ret);
示例#3
0
 public static extern CLSampler clCreateSamplerWithProperties(
     CLContext context,
     [In] IntPtr[] sampler_properties,
     IntPtr errcode_ret);
示例#4
0
 public static extern IntPtr clSVMAlloc(
     CLContext context,
     CLSVMMemFlags flags,
     SizeT size,
     uint alignment);
示例#5
0
 public static extern void clSVMFree(
     CLContext context,
     IntPtr svm_pointer);
示例#6
0
 public static extern CLCommandQueue clCreateCommandQueueWithProperties(
     CLContext context,
     CLDeviceID device,
     [In] IntPtr[] properties,
     IntPtr errcode_ret);
示例#7
0
 public static extern CLMem clCreateBuffer(
     CLContext context,
     CLMemFlags flags,
     SizeT size,
     IntPtr host_ptr,
     ref CLError errcode_ret);
示例#8
0
 public static extern CLCommandQueue clCreateCommandQueue(
     CLContext context,
     CLDeviceID device,
     CLCommandQueueProperties properties,
     ref CLError errcode_ret);
示例#9
0
 public static extern CLError clGetContextInfo(
     CLContext context,
     CLContextInfo param_name,
     SizeT param_value_size,
     IntPtr param_value,
     ref SizeT param_value_size_ret);
示例#10
0
 public static extern CLError clReleaseContext(CLContext context);
示例#11
0
 public static extern CLError clRetainContext(CLContext context);
示例#12
0
 public static extern CLError clSetDefaultDeviceCommandQueue(
     CLContext context,
     CLDeviceID device,
     CLCommandQueue command_queue);