macOS
brew install opencl-icd-loaderlocal Homebrew formula metadata
安装
brew install opencl-icd-loaderlocal Homebrew formula metadata
sudo apk add opencl-icd-loaderAlpine Linux edge package indexes · opencl-icd-loader · 来源: dl-cdn.alpinelinux.org
sudo dnf install OpenCL-ICD-LoaderFedora Rawhide package metadata · OpenCL-ICD-Loader · 来源: dl.fedoraproject.org
sudo pacman -S ocl-icdArch Linux sync databases · ocl-icd · 来源: geo.mirror.pkgbuild.com
概览
OpenCL Installable Client Driver (ICD) Loader
历史
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.
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.
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.
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.
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/KhronosGroup/OpenCL-ICD-Loader
安装元数据
| 软件包键 | brew:opencl-icd-loader |
|---|---|
| 版本 | 2026.05.29 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/opencl-icd-loader |
| 主页 | https://www.khronos.org/registry/OpenCL/ |
| 仓库 | https://github.com/KhronosGroup/OpenCL-ICD-Loader |
| 上游文档 | https://github.com/KhronosGroup/OpenCL-ICD-Loader#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/refs/tags/v2026.05.29.tar.gz |
| 最后更新 | 2026-06-25T13:37:58+02:00 |
| Pulse | updated |
| 构建依赖 | cmake, opencl-headers |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | The default vendors directory is $HOMEBREW_PREFIX/etc/OpenCL/vendors |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencl-icd-loader |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cllayerinfo 2.3.3-r0
Generic OpenCL ICD Loader
https://github.com/OCL-dev/ocl-icd
sudo apk add cllayerinfoopencl-icd-loader 2.3.3-r0
Generic OpenCL ICD Loader
https://github.com/OCL-dev/ocl-icd
sudo apk add opencl-icd-loaderopencl-icd-loader-dev 2.3.3-r0
Generic OpenCL ICD Loader (development files)
https://github.com/OCL-dev/ocl-icd
sudo apk add opencl-icd-loader-devopencl-icd-loader-doc 2.3.3-r0
Generic OpenCL ICD Loader (documentation)
https://github.com/OCL-dev/ocl-icd
sudo apk add opencl-icd-loader-docOpenCL-ICD-Loader 3.0.6-7.20250722gitad770a1.fc44
Khronos official OpenCL ICD Loader
https://github.com/KhronosGroup/OpenCL-ICD-Loader
sudo dnf install OpenCL-ICD-LoaderOpenCL-ICD-Loader-devel 3.0.6-7.20250722gitad770a1.fc44
Development files for Khronos official OpenCL ICD Loader
https://github.com/KhronosGroup/OpenCL-ICD-Loader
sudo dnf install OpenCL-ICD-Loader-develocl-icd 2.3.4-1
OpenCL ICD Bindings
https://github.com/OCL-dev/ocl-icd
sudo pacman -S ocl-icd来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.