Login  Register

Support for image types

Posted by ekjo014 on Apr 08, 2021; 10:20pm
URL: https://forum.jogamp.org/Support-for-image-types-tp4041094.html

I don't see a way to create several of the image types that are supported by OpenCL in jocl.
i.e. image1d_t, image1d_buffer_t, image1d_array_t, image2d_array_t
c.f. https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/otherDataTypes.html

I also don't see a way to use the low-level binding API to call clCreateImage with the right parameters since it doesn't seem to be exposed on CLImageBinding
https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/clCreateImage.html

It is in the header file though. So, not sure why its not available?
https://github.com/JogAmp/jocl/blob/master/make/stub_includes/CL12/cl.h#L676

Is there a way to do this?