6c9b07370c
The OCL_ICD_FILENAMES env var contains a list of OpenCL platforms that the ICD should prepend to the list of reported platforms. Since the built amdocl library will show up as the first platform, we can tell ocltst to always run with platform 0. This way we guarantee that the correct binary is being loaded. Using this env var also makes programming LD_LIBRARY_PATH redundant for Linux. Change-Id: I8c1729e8b4dd1cd2df1a3da08c7b7addebd08b4f