OpenCL

From Free Pascal wiki
Jump to navigationJump to search

OpenCL (Open Computing Language) is a framework for writing programs that execute across heterogeneous platforms consisting of CPUs, GPUs, and other processors. OpenCL includes a language (based on C99) for writing kernels (functions that execute on OpenCL devices), plus APIs that are used to define and then control the heterogeneous platform. OpenCL provides parallel programming using both task-based and data-based parallelism.

Official site

Online Man pages on the official site

Wikipedia OpenCL

OpenCL at Apple Developer library


OpenCL headers are available in standard FPC packages. Headers are can be used for:

  • MacOSX 10.6 OpenCL framework
  • NVidia OpenCL Windows .dll
  • ATI using ATI Stream SDK (ATI Stream SDK) under Linux. NVidia OpenCL under Linux should work as well, but it is untested.


Important! ATI OpenCL under Linux requires X server running and building with GUI staff in (GUI window application). Tested under Linux v2.6.36 32bit, X server v1.8.2, ATI proprietary drivers v10.10, ati stream sdk v2.2.