1 of 1 people found this helpful
Image2D is used to deal with textures (or general 2d data). It's probably the right choice in your case. But the vectors you load and store using readImage pertain to just one pixel (e.g. rgba values etc.). To exploit the parallelism of the GPU (i.e. the fact that there are many cores) you need to write a kernel where each thread acts on an individual pixel (or a small group of pixels). If you launch that kernel with e.g. 1920x1080 work items you will exploit the parallelism of the GPU.