I am trying to allocate a image2d type with the following format ,
imageFormat.image_channel_data_type = CL_UNSIGNED_INT8;
imageFormat.image_channel_order = CL_R;
image_desc.image_type = CL_MEM_OBJECT_IMAGE2D;
This works in my VS2010 Adreno SDK build , but I get an error -10(Unsupported Image Format) while in run the same cope in the Snapdragon MDP.
While 'CL_UNSIGNED_INT16' works with CL_R , why is that CL_UNSIGNED_INT8 is not supported with CL_R.
Since I need to copy a greyscale 8-bit image from Host-Device , this is the only option I could use and relly need a way to fix this.
Thank you for helping.