Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman 安装 clblast

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clblast

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install clblast

MacPorts ports tree · math/clblast/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install clblast-tests

Debian stable package indexes · clblast-tests · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install clblast

Fedora Rawhide package metadata · clblast · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#clblast

nixpkgs package indexes · pkgs/by-name/cl/clblast/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S clblast

Arch Linux sync databases · clblast · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Tuned OpenCL BLAS library

命令和别名

  • clblast_tuner_copy_fast
  • clblast_tuner_copy_pad
  • clblast_tuner_invert
  • clblast_tuner_routine_xgemm
  • clblast_tuner_routine_xtrsv
  • clblast_tuner_transpose_fast
  • clblast_tuner_transpose_pad
  • clblast_tuner_xaxpy
  • clblast_tuner_xconvgemm
  • clblast_tuner_xdot
  • clblast_tuner_xgemm
  • clblast_tuner_xgemm_direct
  • clblast_tuner_xgemv
  • clblast_tuner_xger

历史

项目历史与用法

CLBlast is a lightweight, tunable OpenCL BLAS library written in C++11. Its README frames it as an alternative to clBLAS and cuBLAS for users who want vendor-neutral OpenCL support, inspectable kernels, device-specific tuning, and support for a wide range of GPUs, CPUs, embedded GPUs, and accelerators.

项目历史

The changelog starts with version 0.1.0 as the initial preview release on GitHub, supporting a small set of level-1 and level-3 routines. Later pre-1.0 releases added broader BLAS coverage, a C API, Travis CI, MSVC support, thread safety, testing against clBLAS and CPU BLAS libraries, and tuned device parameters.

CLBlast reached 1.0.0 after adding correctness fixes, Mesa Clover and ROCm support, external performance reports, and more tuned parameters. The README cites a 2017 GTC presentation, an IWOCL 2018 presentation, and the paper 'CLBlast: A Tuned OpenCL BLAS Library' as deeper background.

采用历史

The upstream changelog says version 1.4.0 added Ubuntu PPA and macOS Homebrew package-manager availability, and the batch metadata lists Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and Ubuntu package names. Adoption was driven by users needing a tunable OpenCL BLAS on devices not well served by fixed vendor libraries.

The README asks users with poor out-of-the-box performance to run tuners and contribute results, which made the project partly a packaged library and partly a community database of device-specific OpenCL tuning.

使用方式

CLBlast users compile the library with CMake, include either clblast.h or clblast_c.h, pass OpenCL buffers to routines, and optionally build samples, benchmarks, tests, and tuners. The API is intentionally close to Netlib BLAS and cuBLAS/clBLAS conventions while avoiding a library initialization step.

为什么软件包爱好者会关心

CLBlast is package-nerd bait because it combines portable C++ packaging, OpenCL ICD dependencies, optional CUDA backend support, Python bindings, tuners, samples, benchmarks, and a built-in tuning database. It also offers a clean contrast with clBLAS: same problem domain, but newer, more tunable, and more explicit about cross-vendor device coverage.

时间线

  • 2017: CLBlast is presented at NVIDIA GTC and the first arXiv version of the CLBlast paper appears.
  • 2018: CLBlast is presented at IWOCL and the paper is published as 'CLBlast: A Tuned OpenCL BLAS Library'.
  • 1.0.0: The project reaches a stable major release with ROCm/Mesa support and external performance reports.
  • 1.4.0: Ubuntu PPA and macOS Homebrew packaging are added upstream.
  • 1.7.0: Parallel kernel compilation for faster tuning and CMake 4.0 compatibility are added.

Related projects

  • clBLAS is the older OpenCL BLAS library that CLBlast explicitly compares against and offers migration-compatible APIs for.
  • cuBLAS is the NVIDIA CUDA BLAS library used as a contrast in the README.
  • CLTune inspired the included auto-tuner according to the README's paper references.
  • Netlib BLAS provides the routine model, while OpenCL provides the device API.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clblast_tuner_copy_fastcli全局可执行文件
clblast_tuner_copy_padcli全局可执行文件
clblast_tuner_invertcli全局可执行文件
clblast_tuner_routine_xgemmcli全局可执行文件
clblast_tuner_routine_xtrsvcli全局可执行文件
clblast_tuner_transpose_fastcli全局可执行文件
clblast_tuner_transpose_padcli全局可执行文件
clblast_tuner_xaxpycli全局可执行文件
clblast_tuner_xconvgemmcli全局可执行文件
clblast_tuner_xdotcli全局可执行文件
clblast_tuner_xgemmcli全局可执行文件
clblast_tuner_xgemm_directcli全局可执行文件
clblast_tuner_xgemvcli全局可执行文件
clblast_tuner_xgercli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.7.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本1.7.0

https://github.com/CNugteren/CLBlast

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:clblast
版本1.7.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clblast
主页https://github.com/CNugteren/CLBlast
仓库https://github.com/CNugteren/CLBlast
上游文档https://cnugteren.github.io/clblast/clblast.html
许可证Apache-2.0
源码归档https://github.com/CNugteren/CLBlast/archive/refs/tags/1.7.0.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclblast
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

clblast-tests 1.6.3-1+b1

Tests for CLBlast

https://cnugteren.github.io/clblast/clblast.html

sudo apt install clblast-tests
  • Section: math
  • Architecture: amd64
  • Source Package: clblast
  • 8 依赖
  • normalized package name match
  • 匹配方式:Clblast
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clblast-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

clblast-utils 1.6.3-1+b1

Utilities for CLBlast

https://cnugteren.github.io/clblast/clblast.html

sudo apt install clblast-utils
  • Section: math
  • Architecture: amd64
  • Source Package: clblast
  • 6 依赖
  • normalized package name match
  • 匹配方式:Clblast
Debian stable package indexes · deb.debian.org · Debian stable package indexes: clblast-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libclblast-dev 1.6.3-1+b1

Tuned OpenCL BLAS library (development files)

https://cnugteren.github.io/clblast/clblast.html

sudo apt install libclblast-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: clblast
  • 3 依赖
  • normalized package name match
  • 匹配方式:Clblast
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libclblast-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libclblast1 1.6.3-1+b1

Tuned OpenCL BLAS library

https://cnugteren.github.io/clblast/clblast.html

sudo apt install libclblast1
  • Section: libs
  • Architecture: amd64
  • Source Package: clblast
  • 5 依赖
  • normalized package name match
  • 匹配方式:Clblast
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libclblast1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

clblast

nix profile install nixpkgs#clblast
  • normalized package name match
  • 匹配方式:Clblast
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cl/clblast/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

clblast-tests 1.6.2-1

Tests for CLBlast

https://cnugteren.github.io/clblast/clblast.html

sudo apt install clblast-tests
  • Section: universe/math
  • Architecture: amd64
  • Source Package: clblast
  • 8 依赖
  • normalized package name match
  • 匹配方式:Clblast
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clblast-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

clblast-utils 1.6.2-1

Utilities for CLBlast

https://cnugteren.github.io/clblast/clblast.html

sudo apt install clblast-utils
  • Section: universe/math
  • Architecture: amd64
  • Source Package: clblast
  • 6 依赖
  • normalized package name match
  • 匹配方式:Clblast
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: clblast-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libclblast-dev 1.6.2-1

Tuned OpenCL BLAS library (development files)

https://cnugteren.github.io/clblast/clblast.html

sudo apt install libclblast-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: clblast
  • 3 依赖
  • normalized package name match
  • 匹配方式:Clblast
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclblast-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libclblast1 1.6.2-1

Tuned OpenCL BLAS library

https://cnugteren.github.io/clblast/clblast.html

sudo apt install libclblast1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: clblast
  • 5 依赖
  • normalized package name match
  • 匹配方式:Clblast
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclblast1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

clblast 1.6.3-8.fc44

Tuned OpenCL BLAS routines

https://cnugteren.github.io/clblast/clblast.html

sudo dnf install clblast
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: clblast
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clblast
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clblast from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

clblast-clients 1.6.3-8.fc44

Clients for clblast

https://cnugteren.github.io/clblast/clblast.html

sudo dnf install clblast-clients
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: clblast
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clblast
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clblast-clients from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

clblast-devel 1.6.3-8.fc44

Headers and libraries for CLBlast

https://cnugteren.github.io/clblast/clblast.html

sudo dnf install clblast-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: clblast
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Clblast
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clblast-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

clblast-tuners 1.6.3-8.fc44

Tuners for clblast

https://cnugteren.github.io/clblast/clblast.html

sudo dnf install clblast-tuners
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: clblast
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clblast
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: clblast-tuners from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

clblast 1.7.0-1

Tuned OpenCL BLAS library

https://github.com/CNugteren/CLBlast

sudo pacman -S clblast
  • License: Apache-2.0
  • Architecture: x86_64
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clblast
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: clblast from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

clblast

sudo port install clblast
  • normalized package name match
  • 匹配方式:Clblast
MacPorts ports tree · api.github.com · MacPorts ports tree: math/clblast/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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