Tom Stellard
934394c5e2
ocl: Don't use 'inline' attribute on functions
In C99 'inline' is not a hint to the compiler to inline the function, it is an attribute that affects the linkage of the function. 'inline' functions are required to have a definition in a different compiliation unit, so compilers are free to delete 'inline' functions if they want to. This issue can be seen in Clang when compiling at -O0. Clang will sometimes delete 'inline' functions which creates an invalid program. Issue 3746: http://code.opencv.org/issues/3746
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: http://opencv.org
- Docs: http://docs.opencv.org
- Q&A forum: http://answers.opencv.org
- Issue tracking: http://code.opencv.org
Contributing
Please read before starting work on a pull request: http://code.opencv.org/projects/opencv/wiki/How_to_contribute
Summary of guidelines:
- One pull request per issue;
- Choose the right base branch;
- Include tests and documentation;
- Clean up "oops" commits before submitting;
- Follow the coding style guide.
Description
Languages
C++
83.4%
Cuda
5.9%
C
3.8%
Java
2.4%
CMake
2.2%
Other
2.1%