Ejemplo n.º 1
0
 public new static CLMemoryHandle CreateImage3D(
     CLContextHandle context,
     ComputeMemoryFlags flags,
     ref ComputeImageFormat image_format,
     IntPtr image_width,
     IntPtr image_height,
     IntPtr image_depth,
     IntPtr image_row_pitch,
     IntPtr image_slice_pitch,
     IntPtr host_ptr,
     out ComputeErrorCode errcode_ret)
 {
     Debug.WriteLine("WARNING! clCreateImage3D has been deprecated in OpenCL 1.2.");
     return(CL11.CreateImage3D(context, flags, ref image_format, image_width, image_height, image_depth, image_row_pitch, image_slice_pitch, host_ptr, out errcode_ret));
 }
Ejemplo n.º 2
0
 public new static ComputeErrorCode UnloadCompiler()
 {
     Debug.WriteLine("WARNING! clUnloadCompiler has been deprecated in OpenCL 1.2.");
     return(CL11.UnloadCompiler());
 }
Ejemplo n.º 3
0
 public new static IntPtr GetExtensionFunctionAddress(
     String func_name)
 {
     Debug.WriteLine("WARNING! clGetExtensionFunctionAddress has been deprecated in OpenCL 1.2.");
     return(CL11.GetExtensionFunctionAddress(func_name));
 }
Ejemplo n.º 4
0
 public new static ComputeErrorCode EnqueueBarrier(
     CLCommandQueueHandle command_queue)
 {
     Debug.WriteLine("WARNING! clEnqueueBarrier has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueBarrier(command_queue));
 }