# Installer opencl-icd-loader avec Homebrew, apk, dnf, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de opencl-icd-loader pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:opencl-icd-loader
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install opencl-icd-loader
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add opencl-icd-loader
```

  Preuve: Alpine Linux edge package indexes: opencl-icd-loader from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install OpenCL-ICD-Loader
```

  Preuve: Fedora Rawhide package metadata: OpenCL-ICD-Loader from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S ocl-icd
```

  Preuve: Arch Linux sync databases: ocl-icd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:opencl-icd-loader
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/opencl-icd-loader>
- **Version:** 2026.05.29
- **Résumé source:** OpenCL Installable Client Driver (ICD) Loader
- **Page d'accueil:** <https://www.khronos.org/registry/OpenCL/>
- **Dépôt:** <https://github.com/KhronosGroup/OpenCL-ICD-Loader>
- **Docs amont:** <https://www.khronos.org/registry/OpenCL/>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/refs/tags/v2026.05.29.tar.gz>
- **Dernière mise à jour:** 2026-06-25T13:37:58+02:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- cllayerinfo (cli)
- cllayerinfo (alias)

## Dépendances de compilation

- cmake
- opencl-headers

## Comportement d'installation

- hook post-installation: non défini
- Précautions: The default vendors directory is $HOMEBREW_PREFIX/etc/OpenCL/vendors
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2026.05.29
- gestionnaire mis à jour: 2026-06-25
- données locales: OK
- dépôt amont: https://github.com/KhronosGroup/OpenCL-ICD-Loader
- dernière version détectée: v2026.05.29 (à jour)
## Historique du projet et usages

OpenCL ICD Loader is the Khronos official loader library that exports OpenCL API entry points, enumerates installed OpenCL implementations, and dispatches calls to vendor Installable Client Drivers.

### Historique du projet

The need for an ICD loader came from OpenCL's multi-vendor model: a single system may have OpenCL implementations from CPU, GPU, FPGA, or accelerator vendors. Khronos announced the OpenCL Installable Client Driver loader in 2012, describing it as the library that lets applications choose among installed platforms and dispatch calls to the underlying implementation.

The Khronos GitHub repository packages that mechanism as source code and tests for the official OpenCL ICD Loader. The README is careful about scope: the loader is not an OpenCL implementation, so users must install at least one vendor ICD supporting the `cl_khr_icd` extension.

### Historique d'adoption

The `cl_khr_icd` extension specification describes the ICD Loader as a demultiplexor that exposes platform IDs from multiple vendor implementations to applications linked against the loader. That role made `libOpenCL.so`/OpenCL loader packages a standard dependency for portable OpenCL applications on systems where the actual compute runtime comes from a separate vendor package.

Package managers often split the OpenCL ecosystem into headers, the ICD loader, and vendor runtimes. That split lets a program build and link once while the user's machine decides at runtime whether Intel, AMD, NVIDIA, POCL, FPGA, or other OpenCL providers are available.

### Modes d'utilisation

Developers link applications against the ICD loader instead of a specific vendor OpenCL library. At runtime the loader enumerates vendor ICDs, exposes OpenCL entry points, and routes calls to the implementation associated with the platform, context, queue, memory object, or other ICD-compatible object.

Operators and developers use the package to make OpenCL discovery work in heterogeneous installations. The Homebrew package also installs `cllayerinfo`, a Khronos diagnostic tool for inspecting OpenCL layers and loader behavior.

### Pourquoi les passionnés de paquets s'y intéressent

This is a tiny-looking package with a huge dependency-graph job. Without an ICD loader, every OpenCL consumer would have to choose a vendor implementation at link time or ship awkward runtime glue. With it, distributions can package OpenCL like Vulkan and OpenGL loader stacks: neutral loader first, vendor implementations separately.

It is especially important in reproducible build and CI images because installing headers and the loader is enough to compile and link many OpenCL applications even when no GPU runtime is present. Runtime capability remains a deployment concern.

### Chronologie

- 2012: Khronos published news for the OpenCL Installable Client Driver loader and source availability.
- OpenCL extension era: `cl_khr_icd` defined the mechanism for multiple vendor ICDs behind one loader.
- GitHub era: KhronosGroup/OpenCL-ICD-Loader became the canonical source repository and test location for the official loader.

### Related projects

- Related projects include OpenCL-Headers, OpenCL-CLHPP, OpenCL-SDK, vendor OpenCL runtimes, POCL, and higher-level compute stacks such as SYCL implementations that rely on OpenCL platforms on some systems.

### Sources

- <https://formulae.brew.sh/formula/opencl-icd-loader>
- <https://github.com/KhronosGroup/OpenCL-ICD-Loader>
- <https://registry.khronos.org/OpenCL/specs/unified/refpages/man/html/cl_khr_icd.html>
- <https://www.khronos.org/news/permalink/opencl-installable-client-driver-icd-loader>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** opencl-icd-loader
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** ocl-icd
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- apk - cllayerinfo - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: cllayerinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic OpenCL ICD Loader | https://github.com/OCL-dev/ocl-icd
- apk - opencl-icd-loader - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: opencl-icd-loader from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic OpenCL ICD Loader | https://github.com/OCL-dev/ocl-icd
- apk - opencl-icd-loader-dev - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: opencl-icd-loader-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic OpenCL ICD Loader (development files) | https://github.com/OCL-dev/ocl-icd
- apk - opencl-icd-loader-doc - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: opencl-icd-loader-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Generic OpenCL ICD Loader (documentation) | https://github.com/OCL-dev/ocl-icd
- dnf - OpenCL-ICD-Loader - 3.1-1.20260519gitb7bd280.fc45: normalized package name match | Fedora Rawhide package metadata: OpenCL-ICD-Loader from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Khronos official OpenCL ICD Loader | https://github.com/KhronosGroup/OpenCL-ICD-Loader
- dnf - OpenCL-ICD-Loader-devel - 3.1-1.20260519gitb7bd280.fc45: normalized package name match | Fedora Rawhide package metadata: OpenCL-ICD-Loader-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for Khronos official OpenCL ICD Loader | https://github.com/KhronosGroup/OpenCL-ICD-Loader
- pacman - ocl-icd - 2.3.5-1: normalized package name match | Arch Linux sync databases: ocl-icd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | OpenCL ICD Bindings | https://github.com/OCL-dev/ocl-icd


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://pkg.so/fr/brew/cmake/) - Build dependency declared by Homebrew.
- [pocl](https://pkg.so/fr/brew/pocl/) - Popular package that depends on this formula.
- [ocl-icd](https://pkg.so/fr/brew/ocl-icd/) - Shares pkgdb curated category or tags: cli, icd-loader, opencl, system.
- [libzip](https://pkg.so/fr/brew/libzip/) - Shares pkgdb curated category or tags: c, cli, system.
- [fastfetch](https://pkg.so/fr/brew/fastfetch/) - Shares pkgdb curated category or tags: c, cli, system.
- [jemalloc](https://pkg.so/fr/brew/jemalloc/) - Shares pkgdb curated category or tags: c, cli, system.
- [clinfo](https://pkg.so/fr/brew/clinfo/) - Shares pkgdb curated category or tags: cli, opencl, system.
- [ccd2iso](https://pkg.so/fr/brew/ccd2iso/) - Shares pkgdb curated category or tags: c, cli, system.
- [facad](https://pkg.so/fr/brew/facad/) - Shares pkgdb curated category or tags: c, cli, system.
- [zzz](https://pkg.so/fr/brew/zzz/) - Shares pkgdb curated category or tags: c, cli, system.
- [sysdig](https://pkg.so/fr/brew/sysdig/) - Local package facts share a topical domain. Shared terms: cli, driver, loader, system.

## Combined YAML source

View the package source record on GitHub. [combined/opencl-icd-loader.yml](https://github.com/mxcl/pkgdb/blob/main/combined/opencl-icd-loader.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
