array of cl_mem objects


I have a task where i should process several CL_mem objects from each kernel (basically images, where each kernel process the same pixel on several images)

The number of images is variable, and to stock them into a 3D texture or 2D texture array is complex as they can be added and deleted at any time.

So i was wondering: is it possible to pass to CL an array of ints, where each int is actually a cl_mem object?