Difference between revisions of "OpenCL"
GerdIsenberg (talk | contribs) |
(added OpenCL C 2.0 and 2.1 features, added link to Apple with deprecated OpenCL support) |
||
Line 3: | Line 3: | ||
'''OpenCL''', (Open Computing Language)<br/> | '''OpenCL''', (Open Computing Language)<br/> | ||
an open standard for cross-platform, task-based as well as data-based parallel programming of CPUs, [[GPU|GPUs]], [[FPGA|FPGAs]], [https://en.wikipedia.org/wiki/Digital_signal_processor DSPs], including the [[C|C99]] based programming language '''OpenCL C'''. | an open standard for cross-platform, task-based as well as data-based parallel programming of CPUs, [[GPU|GPUs]], [[FPGA|FPGAs]], [https://en.wikipedia.org/wiki/Digital_signal_processor DSPs], including the [[C|C99]] based programming language '''OpenCL C'''. | ||
− | OpenCL C forbids [[Recursion|recursion]], and omits [https://en.wikipedia.org/wiki/Function_pointer function pointers], [https://en.wikipedia.org/wiki/Bit_field bit fields] and [https://en.wikipedia.org/wiki/Variable-length_array variable-length] [[Array|arrays]], but has fixed-length vector types, supporting [[SIMD and SWAR Techniques|SIMD instructions]] if available on the target platforms. OpenCL is maintained by the [https://en.wikipedia.org/wiki/Nonprofit_organization nonprofit] technology consortium [https://en.wikipedia.org/wiki/Khronos_Group Khronos Group], adopted by [[Apple]], [[Intel]], [https://en.wikipedia.org/wiki/Qualcomm Qualcomm], [[AMD]], [https://en.wikipedia.org/wiki/Nvidia Nvidia], [https://en.wikipedia.org/wiki/Altera Altera], [https://en.wikipedia.org/wiki/Samsung Samsung], [https://en.wikipedia.org/wiki/Vivante_Corporation Vivante], [https://en.wikipedia.org/wiki/Imagination_Technologies Imagination Technologies] and [[ARM]] <ref>[https://en.wikipedia.org/wiki/OpenCL OpenCL from Wikipedia]</ref>. | + | OpenCL C forbids [[Recursion|recursion]], and omits [https://en.wikipedia.org/wiki/Function_pointer function pointers], [https://en.wikipedia.org/wiki/Bit_field bit fields] and [https://en.wikipedia.org/wiki/Variable-length_array variable-length] [[Array|arrays]], but has fixed-length vector types, supporting [[SIMD and SWAR Techniques|SIMD instructions]] if available on the target platforms. OpenCL C 2.0 adds features like nested parallelism and shared virtual memory, 2.1 extends to a subset of C++14. OpenCL is maintained by the [https://en.wikipedia.org/wiki/Nonprofit_organization nonprofit] technology consortium [https://en.wikipedia.org/wiki/Khronos_Group Khronos Group], adopted by [[Apple]]<ref>[https://appleinsider.com/articles/18/06/04/opengl-opencl-deprecated-in-favor-of-metal-2-in-macos-1014-mojave OpenGL, OpenCL deprecated in favor of Metal 2 in macOS 10.14 Mojave]</ref>, [[Intel]], [https://en.wikipedia.org/wiki/Qualcomm Qualcomm], [[AMD]], [https://en.wikipedia.org/wiki/Nvidia Nvidia], [https://en.wikipedia.org/wiki/Altera Altera], [https://en.wikipedia.org/wiki/Samsung Samsung], [https://en.wikipedia.org/wiki/Vivante_Corporation Vivante], [https://en.wikipedia.org/wiki/Imagination_Technologies Imagination Technologies] and [[ARM]] <ref>[https://en.wikipedia.org/wiki/OpenCL OpenCL from Wikipedia]</ref>. |
=Chess Projects= | =Chess Projects= |
Revision as of 14:11, 16 February 2019
Home * Programming * Languages * OpenCL
OpenCL, (Open Computing Language)
an open standard for cross-platform, task-based as well as data-based parallel programming of CPUs, GPUs, FPGAs, DSPs, including the C99 based programming language OpenCL C.
OpenCL C forbids recursion, and omits function pointers, bit fields and variable-length arrays, but has fixed-length vector types, supporting SIMD instructions if available on the target platforms. OpenCL C 2.0 adds features like nested parallelism and shared virtual memory, 2.1 extends to a subset of C++14. OpenCL is maintained by the nonprofit technology consortium Khronos Group, adopted by Apple[1], Intel, Qualcomm, AMD, Nvidia, Altera, Samsung, Vivante, Imagination Technologies and ARM [2].
Chess Projects
- Leela Chess Zero
- Oscar, a Perft project by Steven Edwards
- Zeta by Srdja Matovic
Publications
- Aaftab Munshi, Benedict Gaster, Timothy Mattsonm, James Fung, Dan Ginsburg (2011). OpenCL Programming Guide. InformIT [3]
- Wolfram Schenck (2017). OpenCL Basics. slides as pdf
Forum Posts
- Zeta, a chess engine in OpenCL by Srdja Matovic, CCC, March 17, 2010
- OpenCL perft() Technical Issues by Steven Edwards, CCC, August 26, 2014
External Links
- OpenCL from Wikipedia
- OpenCL - The open standard for parallel programming of heterogeneous systems
- SimpleOpenCL - a library created to reduce the amount of host code needed to write an OpenCL program. - Google Project Hosting