Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, pacman 安装 opencl-icd-loader

查看 opencl-icd-loader 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install opencl-icd-loader

local Homebrew formula metadata

概览

软件包摘要

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.

时间线

  • 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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:client

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
没有可执行文件数据。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2026.05.29
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本v2026.05.29

https://github.com/KhronosGroup/OpenCL-ICD-Loader

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopencl-icd-loader
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • ocl-icd
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

apk95%

cllayerinfo 2.3.3-r0

Generic OpenCL ICD Loader

https://github.com/OCL-dev/ocl-icd

sudo apk add cllayerinfo
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: opencl-icd-loader
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cllayerinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opencl-icd-loader 2.3.3-r0

Generic OpenCL ICD Loader

https://github.com/OCL-dev/ocl-icd

sudo apk add opencl-icd-loader
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: opencl-icd-loader
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opencl-icd-loader from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opencl-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-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: opencl-icd-loader
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opencl-icd-loader-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

opencl-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-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: opencl-icd-loader
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opencl-icd-loader-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

OpenCL-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-Loader
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: OpenCL-ICD-Loader
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: OpenCL-ICD-Loader from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

OpenCL-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-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: OpenCL-ICD-Loader
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: OpenCL-ICD-Loader-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ocl-icd 2.3.4-1

OpenCL ICD Bindings

https://github.com/OCL-dev/ocl-icd

sudo pacman -S ocl-icd
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Opencl Icd Loader
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ocl-icd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment