Re: Support for image types
Posted by
Wade Walker on
Apr 09, 2021; 6:08pm
URL: https://forum.jogamp.org/Support-for-image-types-tp4041094p4041102.html
To get to that function, you need to use the low-level bindings. If you look in jocl/test/com/jogamp/opencl/LowLevelBindingTest.java, there's an example of using the com.jogamp.opencl.llb.impl.CLImpl12 and com.jogamp.opencl.llb.impl.CLImpl20 objects (the low-level bindings to CL 1.2 and 2.0). Both of these objects have
public long clCreateImage(long context, long flags, CLImageFormatImpl image_format, CLImageDescImpl image_desc, Buffer host_ptr, IntBuffer errcode_ret)
defined. I guess for whatever reason Michael just didn't include this function in the high-level interface.