Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.05 KB

introduction.md

File metadata and controls

41 lines (27 loc) · 2.05 KB

Introduction

https://en.wikipedia.org/wiki/OpenCL

OpenCL is an open standard language which models CPU GPU computing.

Initially created by Apple, then transferred to Khronos (thus bound to failure LOL).

It is similar to C, containing some extra keywords to model the CPU GPU world, and leaving out a few C features which GPUs cannot yet do very well.

As of 2013 its major concurrent is CUDA, which NVIDIA proprietary. Current NVIDIA do support both CUDA and OpenCL.

The OpenCL standard in maintained by the Khronos Group, the same guys who maintain OpenGL. They are an industry consortium.

OpenCL, like any other language has versions. As of 2013 the latest version is OpenCL 2.0 released in preview (unstable) as of Jul 2013.

Versions

1.0: 2009, Apple. 1.1: 2010. 1.2: 2011. 2.0: 2013. AMD support: 2015. http://developer.amd.com/community/blog/2015/08/26/introducing-app-sdk-30-opencl-2/

OpenCL and OpenGL integration

Also see compute shaders for OpenGL 4.X, they seem to integrate better.

Implement OpenGL with OpenCL: