pointers must be constant global or local
image_Xd_t must be global. or it is global by default
non pointer must be private. sampler_t mybe too.
AMD implementations do not have image support so maybe for now it return error. see section 6.7 of openCL spec.
Indeed, image support was to blame here.
Thanks for your help.