Error compiling kernel containing image accessor

Hi Duncan,

thanks for your suggestion. Indeed, the missing symbol went away once I moved the sampler into the command group handler scope. There was another error however: using addressing_mode::repeat only works in tandem with coordinate_normalization_mode::normalized which was not the case. Would the spec allow for the CTOR to throw if one initializes the sampler in an invalid state? Since it’s not valid to create an instance in device code, it might as well throw.

Thanks once again. Along with Gordons advise the code finally works.