Skip to Content

opencl vv2024.05.08

Created
Updated

OpenCL SDK

# Usage

opencl provides CMake targets:

find_package(OpenCL CONFIG REQUIRED)

# Khronos OpenCL ICD Loader
target_link_libraries(main PRIVATE OpenCL::OpenCL)

# Khronos OpenCL Headers and C++ bindings
target_link_libraries(main PRIVATE OpenCL::Headers)
target_link_libraries(main PRIVATE OpenCL::HeadersCpp)

# OpenCL Utility Library and C++ bindings
target_link_libraries(main PRIVATE OpenCL::Utils)
target_link_libraries(main PRIVATE OpenCL::UtilsCpp) 

opencl provides pkg-config modules:

# Khronos OpenCL ICD Loader
OpenCL

# Khronos OpenCL Headers and C++ bindings
OpenCL-Headers
OpenCL-CLHPP 

This package is only an OpenCL SDK. To actually run OpenCL code you also need to install an implementation.

Windows: Implementations typically ship with the drivers of you CPU/GPU vendors.
Linux: Implementations may be installed from your distro's repo or manually.
Apple: Consult your distribution vendor on the state of OpenCL support:
https://support.apple.com/en-us/HT202823

# License

# Supported Platforms

!uwp

  • linux
  • osx
  • windows
  • uwp

# Features

No features defined.

# Dependencies

No dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

# Host Dependents

No dependents.

# Contributors

  • Nagy-Egri Máté Ferenc's avatar Nagy-Egri Máté Ferenc
  • Victor Romero's avatar Victor Romero
  • pravic's avatar pravic
  • Nagy-Egri Máté Ferenc's avatar Nagy-Egri Máté Ferenc
  • Stefano Sinigardi's avatar Stefano Sinigardi
  • NancyLi1013's avatar NancyLi1013
  • Alexander Neumann's avatar Alexander Neumann
  • nicole mazzuca's avatar nicole mazzuca
  • Matthias C. M. Troffaes's avatar Matthias C. M. Troffaes
  • Phoebe's avatar Phoebe
  • dweckmann's avatar dweckmann
  • Matthew Oliver's avatar Matthew Oliver
  • Billy O'Neal's avatar Billy O'Neal
  • Umar Arshad's avatar Umar Arshad
  • Park DongHa's avatar Park DongHa
  • Ilya Lavrenov's avatar Ilya Lavrenov
  • Kai Pastor's avatar Kai Pastor

# Changelog

  • 7527996 [opencl] Update, add Utility lib (#40122)
  • 6fb9a26 [opencl] Use canonical cmake install and fixup (#40042)
  • bf1d50f [opencl] fixed linkage when libOpenCL is static (#31637)
  • 3637f58 [opencl] fixed installation rules (#31627)
  • 7dbf690 [opencl] update to v2023.02.06 (#30469)
  • 82a7a45 [opencl] Update to support OpenCL 3.0 (#28092)
  • b295670 Bulk convert control files. (#19986)
  • 85a48c1 [ffmpeg] Add support for dav1d,fontconfig,freetype,fribidi,ilbc,modplug,opengl,openjpeg,libssh,tensorflow,tesseract,webp,libxml2 dependencies. (#15787)
  • ebedac7 [opencl] Fix dynamic build on linux (#15445)
  • 8e3e1a1 [opencl] Remove feature wdk (#14536)
and 9 more commits:

# Source