MantisBT - CMake
View Issue Details
0012401CMakeCMakepublic2011-08-13 05:062012-03-06 08:37
Matthieu Volat 
David Cole 
normalfeaturealways
closedno change required 
CMake-2-8 
CMake 2.8.6 
0012401: Find OpenCL module
As of now, there is no module to find an installed OpenCL implementation. I wrote a small but working FindOpenCL.cmake file that was tested for a few Linux distributions (Fedora, Ubuntu) and MacOSX 10.6.

I'd like to propose it for inclusion in the modules present by default in CMake.

Cheers,

-- Matthieu Volat
License is the two-clauses BSD, but I can donate the file under the three-clauses to better match CMake's own license.
No tags attached.
? FindOpenCL.cmake (2,814) 2011-08-13 05:06
https://public.kitware.com/Bug/file/4003/FindOpenCL.cmake
? FindOpenCL_1.cmake (2,829) 2011-08-15 11:36
https://public.kitware.com/Bug/file/4004/FindOpenCL_1.cmake
Issue History
2011-08-13 05:06Matthieu VolatNew Issue
2011-08-13 05:06Matthieu VolatFile Added: FindOpenCL.cmake
2011-08-13 05:20Michael WildNote Added: 0027201
2011-08-15 11:17David ColeAssigned To => David Cole
2011-08-15 11:17David ColeStatusnew => assigned
2011-08-15 11:17David ColeNote Added: 0027203
2011-08-15 11:36Matthieu VolatFile Added: FindOpenCL_1.cmake
2011-08-15 11:44Matthieu VolatNote Added: 0027205
2011-10-03 10:56David ColeNote Added: 0027514
2011-10-03 10:56David ColeStatusassigned => resolved
2011-10-03 10:56David ColeFixed in Version => CMake 2.8.6
2011-10-03 10:56David ColeResolutionopen => no change required
2012-03-06 08:37David ColeNote Added: 0028816
2012-03-06 08:37David ColeStatusresolved => closed

Notes
(0027201)
Michael Wild   
2011-08-13 05:20   
One comment: On Ubuntu you also need the "PATH_SUFFIXES nvidia-current" to find the headers if using the NVIDIA drivers.
(0027203)
David Cole   
2011-08-15 11:17   
Please read through http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]

Are you willing to be the module maintainer for this file?
(0027205)
Matthieu Volat   
2011-08-15 11:44   
@Michael: Thanks, you are right, I added it

@David: I will follow the procedure described, I think I can maintain this module, thanks for pointing me in the right direction
(0027514)
David Cole   
2011-10-03 10:56   
We will not add and maintain a FindOpenCL module unless there is a module maintainer for it. If you would like to volunteer to be the module maintainer, please follow the directions at:

  http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]

There's no need for a bug tracker entry regarding adding new modules.
(0028816)
David Cole   
2012-03-06 08:37   
Closing resolved issues that have not been updated in more than 4 months.