How to bind an OpenCL image 2d to a ci_image?


I guess a lot of you are coding on a Mac, so I’ve got a simple question for you.

I’ve got a ci_image which is already on the GPU memory. So far, I transfer the ci_image into a buffer on the CPU memory before resending back to the GPU memory in an OpenCL image2d.
Yes, it sounds stupid but I don’t know how to do otherwise :slight_smile:
How to create (or bind) an OpenCL image2d directly from a ci_image?
Is it even possible?

Thanks for your help!


I was not able to edit my message so I’ve posted a new one here: viewtopic.php?f=28&t=4635
I added some clarifications about what I’m doing.
Sorry for the multi-post.