macOS
brew install ocl-icdlocal Homebrew formula metadata
安装
brew install ocl-icdlocal Homebrew formula metadata
sudo dnf install ocl-icdFedora Rawhide package metadata · ocl-icd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ocl-icdnixpkgs package indexes · pkgs/by-name/oc/ocl-icd/package.nix · 来源: api.github.com
sudo pacman -S ocl-icdArch Linux sync databases · ocl-icd · 来源: geo.mirror.pkgbuild.com
sudo apt install ocl-icd-devDebian stable package indexes · ocl-icd-dev · 来源: deb.debian.org
sudo zypper install libOpenCL1openSUSE Tumbleweed package metadata · libOpenCL1 · 来源: download.opensuse.org
概览
OpenCL ICD loader
历史
ocl-icd is a free OpenCL Installable Client Driver loader. Its job is not to implement OpenCL computation itself, but to expose OpenCL entry points, discover vendor implementations, and dispatch calls to the correct implementation.
The OCL-dev README describes ocl-icd as an open source alternative to vendor-specific OpenCL ICD loaders. The project was built around a practical reverse-engineering and compatibility problem: the order of function pointers inside loader dispatch tables was not publicly available for all cases, so ocl-icd maintains a YAML database of known and guessed entries.
The project also ships a skeleton of bindings that OpenCL implementations can incorporate to add ICD functionality. Its `update-database` flow can install a dummy OpenCL implementation and probe another loader to discover new dispatch entries, reflecting the messy reality of keeping an independent loader compatible with a moving GPU API surface.
Khronos' official OpenCL ICD Loader documentation describes the same general ICD mechanism: applications link against a loader, and the loader enumerates OpenCL implementations and forwards API calls. ocl-icd is the long-running third-party implementation that many Unix-like distributions packaged before or alongside the Khronos-maintained loader.
ocl-icd is packaged across Linux and Unix-like ecosystems because OpenCL applications need a `libOpenCL.so` provider even when the actual compute implementation comes from a GPU vendor or portable implementation such as POCL. The Debian package page for `ocl-icd-opencl-dev` describes it as providing OpenCL development files and ensuring the ocl-icd loader is installed.
Homebrew packages ocl-icd as keg-only on macOS because macOS provides OpenCL.framework, and the formula conflicts with `opencl-icd-loader` because both install `lib/libOpenCL.so`. The formula API generated on 2026-07-01 lists 202 installs over 365 days, which is small direct Homebrew usage but consistent with a low-level compatibility library that is often pulled through dependencies.
Users and packagers install ocl-icd so OpenCL applications can link against one loader while individual vendor drivers are registered through `.icd` files, commonly under `/etc/OpenCL/vendors` or the Homebrew prefix's `etc/OpenCL/vendors` directory.
The tool and library matter most in build farms, Linux desktop/GPU stacks, scientific software, and package-manager dependency graphs, where code should not have to link directly to a single vendor's OpenCL runtime.
ocl-icd is package-nerd infrastructure: it is a small library whose metadata has outsized consequences for GPU software resolution, conflicts, keg-only status, and virtual-provider behavior. Its formula caveats and conflicts explain why package managers must model OpenCL loaders carefully instead of treating them as ordinary leaf packages.
安全态势
没有找到 ocl-icd 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/OpenCL/vendors/*.icd可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/OCL-dev/ocl-icd
安装元数据
| 软件包键 | brew:ocl-icd |
|---|---|
| 版本 | 2.3.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ocl-icd |
| 主页 | https://github.com/OCL-dev/ocl-icd/ |
| 仓库 | https://github.com/OCL-dev/ocl-icd |
| 上游文档 | https://github.com/OCL-dev/ocl-icd/ |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v2.3.5.tar.gz |
| 最后更新 | 2026-06-25T13:37:58+02:00 |
| Pulse | updated |
| 构建依赖 | asciidoc, autoconf, automake, libtool, opencl-headers, xmlto |
| 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 | ocl-icd |
| 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 软件包链接分开显示。
ocl-icd-dev 2.3.3-1
Development files to build an OpenCL ICD
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-devocl-icd-libopencl1 2.3.3-1
Generic OpenCL ICD Loader
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-libopencl1ocl-icd-opencl-dev 2.3.3-1
OpenCL development files
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-opencl-devocl-icd
nix profile install nixpkgs#ocl-icdocl-icd-dev 2.3.2-1build1
Development files to build an OpenCL ICD
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-devocl-icd-libopencl1 2.3.2-1build1
Generic OpenCL ICD Loader
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-libopencl1ocl-icd-opencl-dev 2.3.2-1build1
OpenCL development files
https://github.com/OCL-dev/ocl-icd
sudo apt install ocl-icd-opencl-devocl-icd 2.3.5-1.fc45
OpenCL Library (Installable Client Library) Bindings
https://github.com/OCL-dev/ocl-icd/
sudo dnf install ocl-icdocl-icd-devel 2.3.5-1.fc45
OpenCL Library Development files
https://github.com/OCL-dev/ocl-icd/
sudo dnf install ocl-icd-develocl-icd 2.3.5-1
OpenCL ICD Bindings
https://github.com/OCL-dev/ocl-icd
sudo pacman -S ocl-icdlibOpenCL1 2.3.4-1.6
OpenCL ICD Bindings
https://github.com/OCL-dev/ocl-icd
sudo zypper install libOpenCL1libOpenCL1-32bit 2.3.4-1.6
OpenCL ICD Bindings
https://github.com/OCL-dev/ocl-icd
sudo zypper install libOpenCL1-32bitocl-icd-devel 2.3.4-1.6
Development files of ocl-icd
https://github.com/OCL-dev/ocl-icd
sudo zypper install ocl-icd-develocl-icd-devel-32bit 2.3.4-1.6
Development files of ocl-icd
https://github.com/OCL-dev/ocl-icd
sudo zypper install ocl-icd-devel-32bit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.