Пример #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);