Deprecated API


Contents
Deprecated Methods
org.jocl.CL.allocateAligned(int, int)
          This method is not intended (and should not be required) for public use, and will be removed in future releases. 
org.jocl.CL.clCreateFromGLTexture2D(cl_context, long, int, int, int, int[])
          As of OpenCL 1.2 and replaced by CL.clCreateFromGLTexture(cl_context, long, int, int, int, int[]) 
org.jocl.CL.clCreateFromGLTexture3D(cl_context, long, int, int, int, int[])
          As of OpenCL 1.2 and replaced by CL.clCreateFromGLTexture(cl_context, long, int, int, int, int[]) 
org.jocl.CL.clCreateImage2D(cl_context, long, cl_image_format[], long, long, long, Pointer, int[])
          As of OpenCL 1.2 and replaced by CL.clCreateImage(cl_context, long, cl_image_format, cl_image_desc, Pointer, int[]) 
org.jocl.CL.clCreateImage3D(cl_context, long, cl_image_format[], long, long, long, long, long, Pointer, int[])
          As of OpenCL 1.2 and replaced by CL.clCreateImage(cl_context, long, cl_image_format, cl_image_desc, Pointer, int[]) 
org.jocl.CL.clCreateSubBuffer(cl_mem, long, int, Pointer, int[])
          The buffer_create_info that has to be passed to this function is specific for the underlying architecture (32/64 bit). The preferred way of creating a sub-buffer is now via CL.clCreateSubBuffer(cl_mem, long, int, cl_buffer_region, int[]) 
org.jocl.CL.clEnqueueBarrier(cl_command_queue)
          As of OpenCL 1.2 
org.jocl.CL.clEnqueueMarker(cl_command_queue, cl_event)
          As of OpenCL 1.2 
org.jocl.CL.clEnqueueWaitForEvents(cl_command_queue, int, cl_event[])
          As of OpenCL 1.2 
org.jocl.CL.clSetCommandQueueProperty(cl_command_queue, long, boolean, long[])
          This API introduces mutable state into the OpenCL implementation. It has been REMOVED to better facilitate thread safety. The 1.0 API is not thread safe. It is not tested by the OpenCL 1.1 conformance test, and consequently may not work or may not work dependably.
It is likely to be non-performant. Use of this API is not advised. Use at your own risk.

Software developers previously relying on this API are instructed to set the command queue properties when creating the queue, instead.
 
org.jocl.CL.clUnloadCompiler()
          As of OpenCL 1.2