Exemple #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)
 {
     Trace.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));
 }
Exemple #2
0
 public new static ComputeErrorCode UnloadCompiler()
 {
     Trace.WriteLine("WARNING! clUnloadCompiler has been deprecated in OpenCL 1.2.");
     return(CL11.UnloadCompiler());
 }
Exemple #3
0
 public new static IntPtr GetExtensionFunctionAddress(
     String func_name)
 {
     Trace.WriteLine("WARNING! clGetExtensionFunctionAddress has been deprecated in OpenCL 1.2.");
     return(CL11.GetExtensionFunctionAddress(func_name));
 }
Exemple #4
0
 public new static ComputeErrorCode EnqueueBarrier(
     CLCommandQueueHandle command_queue)
 {
     Trace.WriteLine("WARNING! clEnqueueBarrier has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueBarrier(command_queue));
 }
Exemple #5
0
 public new static ComputeErrorCode UnloadCompiler()
 {
     RILogManager.Default?.SendTrace("WARNING! clUnloadCompiler has been deprecated in OpenCL 1.2.");
     return(CL11.UnloadCompiler());
 }
Exemple #6
0
 public new static IntPtr GetExtensionFunctionAddress(
     String func_name)
 {
     RILogManager.Default?.SendTrace("WARNING! clGetExtensionFunctionAddress has been deprecated in OpenCL 1.2.");
     return(CL11.GetExtensionFunctionAddress(func_name));
 }
Exemple #7
0
 public new static ComputeErrorCode EnqueueBarrier(
     CLCommandQueueHandle command_queue)
 {
     RILogManager.Default?.SendTrace("WARNING! clEnqueueBarrier has been deprecated in OpenCL 1.2.");
     return(CL11.EnqueueBarrier(command_queue));
 }