Add support for the 'endian' attribute for OpenCL.