Deploy OpenCL™ Runtimes
OpenCL promises to more thoroughly utilize the potential processing capability of a Mac’s graphic processor when it appears as part of the Snow Leopard update to OS X. Peter Cohen takes a closer.
Obtain runtimes to execute or develop OpenCL™ applications on Intel® Processors
I was trying to make an OpenCL demo program, which is using gcc. The -lOpenCL is available for Ubuntu, but not Mac. What would the counterpart for that on Mac be? Ld: library not found for -lOpenCL. Jun 10, 2018 I also went back into the client and reset the opencl-index values to -1 - this seems to be OK as well. So, it seems that though FAH came up with the OpenCL errors, even though OpenCL was present and it could Fold on the GPUs, whatever your line of code has done has made the Client happier!
- Intel® Graphics Technology Runtimes
- Target Intel® GEN Compute Architectures on Intel® Processors only
- Intel® Xeon® Processor or Intel® Core™ Processor Runtimes
- Target Intel® x86/x86-64 only
Intel® Graphics Technology Runtimes
- I was trying to make an OpenCL demo program, which is using gcc. The -lOpenCL is available for Ubuntu, but not Mac. What would the counterpart for that on Mac be? Ld: library not found for -lOpenCL.
- In macOS 10.14 Mojave, which Apple unveiled on Monday, the company is deprecating OpenGL and OpenCL technologies in its desktop operating system. In an announcement post to developers, the company wrote: Apps built using OpenGL and OpenCL will.
Execute OpenCL™ applications on Intel® Processors with Intel® Graphics Technology.
- Specifically target Intel® HD Graphics, Intel® Iris® Graphics, and Intel® Iris® Pro Graphics if available on Intel® Processors.
- Runtimes for Intel® Graphics Technology are often deployed in tandem with an Intel® CPU runtime.
- Consider graphics runtimes when developing OpenCL™ applications with the Intel® SDK for OpenCL™ Applications or Intel® System Studio.
Check release notes to ensure supported targets include your target device. For Intel® processors older than supported targets, please see the legacy deployment page.
Linux* OS
Repository Install Guidance *Easy* | Manual Download and Install | Build | README | FAQ
Intel® Graphics Compute Runtime for OpenCL™ Driver is deployed with package managers for multiple distributions. Please see the documentation on the GitHub* portal for deployment instructions.
Considerations for deployment:
- Ensure the deployment system has the (libOpenCL.so) ICD loader runtime from either:
- Your system package manager (for example with the unofficial ocl-icd )
- Useful package manager search hints:
- apt update; apt-file find libOpenCL.so
- yum provides '*/libOpenCL.so'
- Useful package manager search hints:
- Build from the official Khronos ICD Loader reference repository.
- Part of the Intel® SDK for OpenCL™ Applications.
- Your system package manager (for example with the unofficial ocl-icd )
- The Intel® Graphics Compute Runtime for OpenCL™ Driver depends on the i915 kernel driver. Necessary i915 features are available with relatively recent Linux* OS kernels. The recommended kernel is the validation kernel cited in documentation. In general, deployments after the 4.11 kernel should be OK. Make sure to review the release notes and documentation for more specifics.
Windows* OS
- Intel® Graphics Compute Runtime for OpenCL™ Driver is included with the Intel® Graphics Driver package for Windows* OS.
- Download Options
- System Vendor
- See your vendor website for a graphics or video driver download for the system
- Intel® Download Center
- Navigate to “Graphics Drivers” for recent releases.
- Try the system vendor first in consideration of vendor support. System vendors may disable Intel® Graphics Driver install.
- The graphics driver package is built in with Windows* 10 OS install. However, the built-in default deployment may not contain latest features.
- System Vendor
- Release Notes
- In the Download Center navigate to “Graphics Drivers” for Release Notes.
Intel® Xeon® Processor OR Intel® Core™ Processor (CPU) Runtimes
Execute OpenCL™ kernels directly on Intel® CPUs as OpenCL™ target devices.
- Consider an OpenCL™ CPU implementation for Intel® systems without Intel® Graphics Technology.
- Systems with Intel® Graphics Technology can simultaneously deploy runtimes for Intel® Graphics Technology and runtimes for Intel® CPU (x86-64).
- For application developers, the CPU-only runtime is pre-included with the Intel® SDK for OpenCL™ Applications or Intel® System Studio: OpenCL™ Tools component.
Check release notes to ensure supported targets include your target device. For Intel® processors older than supported targets, see the legacy deployment page.
Intel® CPU Runtime for OpenCL™ Applications 18.1 for Linux* OS (64bit only)
Download
- Size 125 MB
- See supported platform details in the Release Notes.
- Ubuntu* install uses an rpm translator
- The Linux* OS CPU runtime package also includes the ICD loader runtime (libOpenCL.so). The runtime installer should set the deployment system to see this ICD loader runtime by default. When examining system libraries, administrators may observe ICD loader runtimes obtained from other places. Examples include the system package manager (for example with ocl-icd) or as part of the Intel® SDK for OpenCL™ Applications.
- Maintenance and updates are now provided in the Experimental Intel® CPU Runtime for OpenCL™ Applications with SYCL support implementation. This implementation is listed later in this article.
- MD5 83c428ab9627268fc61f4d8219a0d670
- SHA1 5f2fa6e6bc400ca04219679f89ec289f17e94e5d
Intel® CPU Runtime for OpenCL™ Applications 18.1 for Windows* OS (64bit or 32bit)
- Size 60 MB
- CPU-only deployments should use the .msi installer linked in the Download button, and consider removal of the Intel® Graphics Technology drivers where applicable.
- CPU & Graphics deployments should use the Intel® Graphics Technology driver package, which contains both CPU (x86-64) and Intel® Graphics Technology implementations.
- See supported operating system details in the Release Notes
- Maintenance and updates are now provided in the Experimental Intel® CPU Runtime for OpenCL™ Applications with SYCL support implementation. This implementation is listed later in this article.
- MD5 8e24048001fb46ed6921d658dd71b8ff
- SHA1 451d96d37259cb111fe8832d5513c5562efa3e56
Experimental Intel® CPU Runtime for OpenCL™ Applications with SYCL support
Download from Intel staging area for llvm.org contribution: prerequisites.
Installation Guide on Github*
- This OpenCL™ implementation for Intel® CPUs is actively maintained. It is currently in *beta* as of article publication date.
- OpenCL 1.2, 2.0, and 2.1 programs can use this runtime.
- The DPC++/SYCL implementation can use this runtime. This runtime additionally supports the SYCL runtime stack. OpenCL™ developers are highly encouraged to explore Intel® DPC++ compiler and SYCL.
- Deployments with the Intel® CPU Runtime for OpenCL™ Applications 18.1 and this Experimental runtime are not jointly validated at article publication time. Use one or the other implementation, but not both.
- Feedback can be provided at the Intel® oneAPI Data Parallel C++ forum. Issues are also communicated at the Intel staging area for llvm.org contribution.
Develop OpenCL™ Applications
Tools to develop OpenCL™ applications for Intel® Processors
Intel® oneAPI: DPC++ Compiler
- DPC++/SYCL programs can run SYCL kernels by way of underlying OpenCL™ implementations.
- OpenCL-C kernels can also be directly ingested and run by a SYCL runtime. Users of the OpenCL C++ API wrapper may find the SYCL specification particularly appealing.
- Explore the Intel® oneAPI: DPC++ Compiler, Github* hosted DPC++/SYCL code samples, OpenCL™ injection tests, as well as training videos part1 and part2 on techdecoded.intel.io.
- As of article publication, this compiler is in Beta.
Intel® System Studio
- For compilation, cross-platform, IoT, power considerate development, and performance analysis.
- OpenCL™ development tools component:
- Develop OpenCL™ applications targeting Intel® Xeon® Processors, Intel® Core™ Processors, and/or Intel® Graphics Technology.
- Develop applications with expanded IDE functionality, debug, and analysis tools.
- Note: Some debug and analysis features have been removed from recent versions of the SDK.
- Earlier versions of the SDK contain an experimental OpenCL™ 2.1 implementation. Intel® CPU Runtime for OpenCL™ Applications 18.1 was intended as a replacement for the experimental implementation.
- OpenCL™ development tools component:
- Visit the Intel® System Studio portal
Intel® SDK for OpenCL™ Applications
- Standalone distribution of Intel® System Studio: OpenCL™ Tools component.
- Develop OpenCL™ Applications targeting Intel® Xeon® Processors, Intel® Core™ Processors, and/or Intel® Graphics Technology.
- Develop applications with expanded IDE functionality, debug, and analysis tools.
- Note: Some debug and analysis features have been removed from recent versions of the SDK.
- Earlier versions of the SDK contain an experimental OpenCL™ 2.1 implementation suitable for development testing on CPU OpenCL™ targets. Intel® CPU Runtime for OpenCL™ Applications 18.1 was intended as a replacement for that experimental implementation.
- See release notes, requirements, and download links through the Intel® SDK for OpenCL™ Applications portal.
Intel® FPGA SDK for OpenCL™ Software Technology
- Build OpenCL™ Applications and OpenCL™ kernels for Intel® FPGA devices.
- See release notes, requirements, and download links through the SDK’s portal webpage.
- For OpenCL™ runtimes and required system drivers, visit Download Center for FPGAs.
Intel® Distribution of OpenVINO™ toolkit
- The Intel® Distribution of OpenVINO™ toolkit is available for vision and deep learning inference. It benefits from OpenCL™ acceleration for each of these components:
- Intel® Deep Learning Deployment Toolkit
- OpenCV
- OpenVX*
- For a developer oriented overview, see videos on the techdecoded.intel.io training hub.
Intercept Layer for Debugging and Analyzing OpenCL™ Applications
- The Intercept Layer for Debugging and Analyzing OpenCL™ Applications (clIntercept) can intercept, report, and modify OpenCL™ API calls.
- No application-level modifications nor OpenCL™ implementation modifications are necessary.
- clIntercept functionality can supplement removed functionality from recent releases of the Intel® SDK for OpenCL™ Applications.
![Opencl library c++ Opencl library c++](https://library.creativecow.net/articles/kaufman_debra/Blackmagic-Design-NAB/images/ATEMTelevisionStudioSoftware.jpg)
Opencl Library C++
Additional resources
*OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
For more complete information about compiler optimizations, see our Optimization Notice.
The tables below list the OpenCL and OpenGL versions that Mac computers support.
Each GPU's hardware capabilities determine the version of OpenCL or OpenGL that's supported. Some GPUs don't support OpenCL and are noted with —. Some applications might have specific version requirements.
Opencl Library Mac Torrent
iMac
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
iMac (Retina 5K, 27-inch, 2019) | Radeon Pro 570X Radeon Pro 575X Radeon Pro 580X Radeon Pro Vega 48 | 4.1 | 1.2 |
iMac (Retina 4K, 21.5-inch, 2019) | Radeon Pro 555X Radeon Pro 560X Radeon Pro Vega 20 | 4.1 | 1.2 |
iMac (Retina 5K, 27-inch, 2017) | Radeon Pro 570 Radeon Pro 575 Radeon Pro 580 | 4.1 | 1.2 |
iMac (Retina 4K, 21.5-inch, 2017) | Radeon Pro 555 Radeon Pro 560 | 4.1 | 1.2 |
iMac (21.5-inch, 2017) | Intel Iris Plus Graphics 640 | 4.1 | 1.2 |
iMac (Retina 5K, 27-inch, Late 2015) | AMD Radeon R9 M380 AMD Radeon R9 M390 AMD Radeon R9 M395 AMD Radeon R9 M395X | 4.1 | 1.2 |
iMac (Retina 4K, 21.5-inch, Late 2015) | Intel Iris Pro Graphics 6200 | 4.1 | 1.2 |
iMac (21.5-inch, Late 2015) | Intel HD Graphics 6000 Intel Iris Pro Graphics 6200 | 4.1 | 1.2 |
iMac (Retina 5K, 27-inch, Mid 2015) | AMD Radeon R9 M290 | 4.1 | 1.2 |
iMac (Retina 5K, 27-inch, Late 2014) | AMD M290 AMD M295 AMD Radeon R9 M290 AMD Radeon R9 M295X | 4.1 | 1.2 |
iMac (21.5-inch, Mid 2014) | Intel HD 5000 Graphics | 4.1 | 1.2 |
iMac (27-inch, Late 2013) | NVIDIA Geforce GT 755M NVIDIA Geforce GTX 775M NVIDIA Geforce GTX 780M | 4.1 | 1.2 |
iMac (21.5-inch, Late 2013) | NVIDIA Geforce GT 750M Intel Iris Pro | 4.1 | 1.2 |
iMac (21-inch, Early 2013) | Intel HD Graphics 4000 | 4.1 | 1.2 |
iMac (27-inch, Late 2012 | NVIDIA GeForce GTX 660MX NVIDIA GeForce GTX 675MX NVIDIA GeForce GT 680M | 4.1 | 1.2 |
iMac (21-inch, Late 2012) | NVIDIA GeForce GT 640M NVIDIA GeForce GT 650M | 4.1 | 1.2 |
iMac (21-inch, Late 2011) | ATI Radeon HD 6750M | 4.1 | 1.2 |
iMac (27-inch, Mid 2011) | ATI Radeon HD 6770M ATI Radeon HD 6970M | 4.1 | 1.2 |
iMac (21-inch, Mid 2011) | ATI Radeon HD 6750M ATI Radeon HD 6770M | 4.1 | 1.2 |
iMac (27-inch, Mid 2010) | ATI Radeon HD 5670 ATI Radeon HD 5750 | 4.1 | 1.2 |
iMac (21-inch, Mid 2010) | ATI Radeon HD 4670 ATI Radeon HD 5670 | 3.3 | 1.0 |
iMac (27-inch, Late 2009) | ATI Radeon HD 4670 ATI Radeon HD 4850 | 3.3 | 1.0 |
iMac (21-inch, Late 2009) | NVIDIA GeForce 9400M ATI Radeon HD 4670 | 3.3 | 1.0 |
iMac (20-inch, Late 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
iMac (24-inch, Early 2009) | NVIDIA GeForce GT 120 NVIDIA GeForce GT 130 NVIDIA GeForce 9400M | 3.3 | 1.0 |
iMac (20-inch, Early 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
iMac (Early 2009) | ATI Radeon HD 4850 | 3.3 | 1.0 |
iMac (24-inch, Early 2008) | NVIDIA GeForce 8800 GS | 3.3 | 1.0 |
iMac (20-inch, Early 2008) | ATI Radeon HD 2600 Pro | 3.3 | -- |
iMac (24-inch, Mid 2007) | ATI Radeon HD 2400 ATI Radeon HD 2600 Pro | 3.3 | -- |
iMac (20-inch, Mid 2007) | ATI Radeon HD 2400 ATI Radeon HD 2600 XT ATI Radeon HD 2600 Pro | 3.3 | -- |
iMac Pro
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
iMac Pro (2017) | Radeon Pro Vega 56 Radeon Pro Vega 64 Radeon Pro Vega 64X | 4.1 | 1.2 |
Mac mini
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
Mac mini (2018) | Intel UHD Graphics 630 | 4.1 | 1.2 |
Mac mini (Late 2014) | Intel Iris Graphics Intel HD 5000 Graphics | 4.1 | 1.2 |
Mac mini (Mid 2012) | Intel HD 4000 | 4.1 | 1.2 |
Mac mini (Mid 2011) | Intel HD 3000 | 3.3 | -- |
Mac mini (Mid 2011) | AMD Radeon HD 6630 | 4.1 | 1.2 |
Mac mini (Early 2010) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
Mac mini (Early 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
Mac Pro
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
Mac Pro (2019) | Radeon Pro 580X MPX Module Radeon Pro Vega II MPX Module Radeon Pro Vega II Duo MPX Module | 4.1 | 1.2 |
Mac Pro (Late 2013) | AMD FirePro D300 AMD FirePro D500 AMD FirePro D700 | 4.1 | 1.2 |
Mac Pro (Mid 2012) | ATI Radeon HD 5770 ATI Radeon HD 5870 | 4.1 | 1.2 |
Mac Pro (Mid 2010) | ATI Radeon HD 5770 ATI Radeon HD 5870 | 4.1 | 1.2 |
Mac Pro (Early 2009) | NVIDIA Geforce GTX 285 NVIDIA Geforce Quadro FX 4800 NVIDIA GeForce GT 120 ATI Radeon HD 4870 | 3.3 | 1.0 |
Mac Pro (Early 2008) | NVIDIA GeForce 8800 GT NVIDIA Quadro FX 5600 ATI Radeon HD 2600 XT | 3.3 | 1.0 |
MacBook Pro
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports) | Intel Iris Plus Graphics 645 | 4.1 | 1.2 |
MacBook Pro (15-inch) | Intel UHD Graphics 630 Radeon Pro 555X with 4GB GDDR5 memory Radeon Pro 560X with 4GB GDDR5 memory Radeon Pro Vega 16 with 4GB HBM2 memory Radeon Pro Vega 20 with 4GB HBM2 memory | 4.1 | 1.2 |
MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports) | Intel Iris Plus Graphics 655 | 4.1 | 1.2 |
MacBook Pro (15-inch, 2018) | Intel UHD Graphics 630 Radeon Pro 555X with 4GB GDDR5 memory Radeon Pro 560X with 4GB GDDR5 memory Radeon Pro Vega 16 with 4GB HBM2 memory Radeon Pro Vega 20 with 4GB HBM2 memory | 4.1 | 1.2 |
MacBook Pro (13-inch, 2018, Four Thunderbolt 3 ports) | Intel Iris Plus Graphics 655 | 4.1 | 1.2 |
MacBook Pro (15-inch, 2017) | Intel HD Graphics 630 Radeon Pro 555 2GB VRAM Radeon Pro 560 4GB VRAM | 4.1 | 1.2 |
MacBook Pro (13-inch, 2017, Four Thunderbolt 3 ports) | Intel Iris Plus Graphics 650 | 4.1 | 1.2 |
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) | Intel Iris Plus Graphics 640 | 4.1 | 1.2 |
MacBook Pro (15-inch, 2016) | Intel HD Graphics 530 Radeon Pro 450 2GB VRAM Radeon Pro 455 2GB VRAM Radeon Pro 460 4GB VRAM | 4.1 | 1.2 |
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 ports) | Intel Iris Graphics 550 | 4.1 | 1.2 |
MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports) | Intel Iris Graphics 540 | 4.1 | 1.2 |
MacBook Pro (Retina, 15-inch, Mid 2015) | Intel Iris Pro 5200 AMD Radeon R9 M370X | 4.1 | 1.2 |
MacBook Pro (Retina, 13-inch, Early 2015) | Intel Iris Graphics 6100 | 4.1 | 1.2 |
MacBook Pro (Retina, 15-inch, Mid 2014) | Intel Iris Pro Graphics NVIDIA Geforce GT 750M | 4.1 | 1.2 |
MacBook Pro (Retina, 13-inch, Mid 2014) | Intel Iris Graphics | 4.1 | 1.2 |
MacBook Pro (Retina, 15-inch, Late 2013) | Intel Iris Pro Graphics NVIDIA GeForce GT 750M | 4.1 | 1.2 |
MacBook Pro (Retina, 13-inch, Late 2013) | Intel Iris Graphics | 4.1 | 1.2 |
MacBook Pro (Retina, 15-inch, Early 2013) | NVIDIA GeForce GT 650M | 4.1 | 1.2 |
MacBook Pro (Retina, 15-inch, Mid 2012) | NVIDIA GeForce GT 650M | 4.1 | 1.2 |
MacBook Pro (13-inch, Mid 2012) | Intel HD Graphics 4000 | 4.1 | 1.2 |
MacBook Pro (17-inch, Late 2011) | ATI Radeon HD 6770M | 4.1 | 1.2 |
MacBook Pro (15-inch, Late 2011) | ATI Radeon HD 6750M ATI Radeon HD 6770M | 4.1 | 1.2 |
MacBook Pro (13-inch, Late 2011) | Intel HD Graphics 3000 | 3.3 | -- |
MacBook Pro (17-inch, Early 2011) | ATI Radeon HD 6750M | 4.1 | 1.2 |
MacBook Pro (15-inch, Early 2011) | ATI Radeon HD 6490M ATI Radeon HD 6750M | 4.1 | 1.2 |
MacBook Pro (13-inch, Early 2011) | Intel HD Graphics 3000 | 3.3 | -- |
MacBook Pro (17-inch, Mid 2010) | NVIDIA Geforce GT 330M | 3.3 | 1.0 |
MacBook Pro (15-inch, Mid 2010) | NVIDIA Geforce GT 330M | 3.3 | 1.0 |
MacBook Pro (13-inch, Mid 2010) | NVIDIA Geforce GT 320M | 3.3 | 1.0 |
MacBook Pro (13-inch, Mid 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
MacBook Pro (17-inch, Late 2008) | NVIDIA GeForce 9400M NVIDIA GeForce 9600M | 3.3 | 1.0 |
MacBook Pro (15-inch, Late 2008) | NVIDIA GeForce 9400M NVIDIA GeForce 9600M | 3.3 | 1.0 |
MacBook Pro (17-inch, Early 2008) | NVIDIA Geforce 8600 | 3.3 | 1.0 |
MacBook Pro (15-inch, Early 2008) | NVIDIA Geforce 8600 | 3.3 | 1.0 |
MacBook Pro (17-inch, Mid 2007) | NVIDIA Geforce 8600 | 3.3 | 1.0 |
MacBook Pro (15-inch, Mid 2007) | NVIDIA Geforce 8600 | 3.3 | 1.0 |
MacBook
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
MacBook (Retina, 12-inch, 2017) | Intel HD Graphics 615 | 4.1 | 1.2 |
MacBook (Retina, 12-inch, Early 2016) | Intel HD Graphics 515 | 4.1 | 1.2 |
MacBook (Retina, 12-inch, Early 2015) | Intel HD Graphics 5300 | 4.1 | 1.2 |
MacBook (Mid 2010) | NVIDIA GeForce 320M | 3.3 | 1.0 |
MacBook (Early 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |
MacBook Air
Model | GPU | OpenGL | OpenCL |
---|---|---|---|
MacBook Air (Retina, 13-inch, 2019) | Intel UHD Graphics 617 | 4.1 | 1.2 |
MacBook Air (Retina, 13-inch, 2018) | Intel UHD Graphics 617 | 4.1 | 1.2 |
MacBook Air (13-inch, 2016) | Intel HD Graphics 6000 | 4.1 | 1.2 |
MacBook Air (13-inch, Early 2015) | Intel HD Graphics 6000 | 4.1 | 1.2 |
MacBook Air (11-inch, Early 2015) | Intel HD Graphics 6000 | 4.1 | 1.2 |
MacBook Air (13-inch, Mid 2013) | Intel HD Graphics 5000 | 4.1 | 1.2 |
MacBook Air (11-inch, Mid 2013) | Intel HD Graphics 5000 | 4.1 | 1.2 |
MacBook Air (Mid 2012) | Intel HD Graphics 4000 | 4.1 | 1.2 |
MacBook Air (Mid 2011) | Intel HD Graphics 3000 | 3.3 | -- |
MacBook Air (Late 2010) | NVIDIA GeForce 320M | 3.3 | 1.0 |
MacBook Air (Mid 2009) | NVIDIA GeForce 9400M | 3.3 | 1.0 |