I don't find these two warnings until now, and here's the simple fix.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
const size_t w = 512;
const size_t h = 512;
cl_image_format format;
- cl_sampler sampler;
uint32_t color = 0x12345678;
format.image_channel_order = CL_RGBA;
const size_t w = 512;
const size_t h = 512;
cl_image_format format;
- cl_sampler sampler;
format.image_channel_order = CL_RGBA;
format.image_channel_data_type = CL_UNSIGNED_INT8;