And, you must register the OpenCL ICD; samples and other applications will fail to execute if this is not done. To register the ICD:
a. If one does not exist, create a folder /usr/lib/OpenCL/vendors.
b. Create the /usr/lib/OpenCL/vendors folder, if does not already exist.
c. Symlink [INSTALLDIR]/x86/libatiocl32.so into the vendors folder:
sudo ln -sf [INSTALLDIR]/x86/libatiocl32.so /usr/lib/OpenCL/vendors/libatiocl32.so
d. For 64-bit installations, you also must symlink
[INSTALLDIR]/x86_64/libatiocl64.so to the vendors folder:
sudo ln -sf [INSTALLDIR]/x86_64/libatiocl64.so /usr/lib/OpenCL/vendors/libatiocl64.so