I have attributes in my kernel that are supported by another OpenCL compiler. When I compile the same kernel in AMD SDK 2.9.1, it errors out on these attributes. I checked the OpenCL Spec, it has the statement below about implementation specific attributes. I was just wondering why AMD SDK chooses to error out on them while the intention of the OpenCL spec is to ignore unrecognized attributes.
Attributes are intended as useful hints to the compiler. It is our intention that a particular
implementation of OpenCL be free to ignore all attributes and the resulting executable binary
will produce the same result.