Fix line endings
Whitespace and typo fixes
Add OpenCL 1.2 types