clMathLibraries / clSPARSE

a software library containing Sparse functions written in OpenCL
Apache License 2.0
173 stars 61 forks source link

Move OpenCL detection to the root of the project. #196

Closed ghisvail closed 8 years ago

ghisvail commented 8 years ago

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.