This PR moves the OpenCL detection to the root of the project, so that clsparseTimer inherits the OpenCL settings. Otherwise, clsparseTimer does not get compiled with the necessary OpenCL deprecation definitions, resulting in a build failure on Debian. Besides, the clsparseTimer list file also makes use of BUILD_CLVERSION, so it makes sense to have it defined in the parent list file.
This PR moves the OpenCL detection to the root of the project, so that
clsparseTimer
inherits the OpenCL settings. Otherwise,clsparseTimer
does not get compiled with the necessary OpenCL deprecation definitions, resulting in a build failure on Debian. Besides, theclsparseTimer
list file also makes use ofBUILD_CLVERSION
, so it makes sense to have it defined in the parent list file.