# clblast を Homebrew, dnf, MacPorts, Nix, pacman, apt でインストール

clblast のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:clblast
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install clblast
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clblast
```

  証拠: MacPorts ports tree: math/clblast/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install clblast
```

  証拠: Fedora Rawhide package metadata: clblast from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#clblast
```

  証拠: nixpkgs package indexes: pkgs/by-name/cl/clblast/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S clblast
```

  証拠: Arch Linux sync databases: clblast from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install clblast-tests
```

  証拠: Debian stable package indexes: clblast-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:clblast
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7.0
- **ソース概要:** Tuned OpenCL BLAS library
- **ホームページ:** <https://github.com/CNugteren/CLBlast>
- **リポジトリ:** <https://github.com/CNugteren/CLBlast>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- 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 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.7.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/CNugteren/CLBlast#readme>
- <https://raw.githubusercontent.com/CNugteren/CLBlast/master/CHANGELOG>
- <https://cnugteren.github.io/clblast/clblast.html>
- <https://arxiv.org/abs/1705.05249>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - clblast-tests - 1.6.3-1+b1: normalized package name match | Debian stable package indexes: clblast-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tests for CLBlast | https://cnugteren.github.io/clblast/clblast.html
- Debian apt - clblast-utils - 1.6.3-1+b1: normalized package name match | Debian stable package indexes: clblast-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities for CLBlast | https://cnugteren.github.io/clblast/clblast.html
- Debian apt - libclblast-dev - 1.6.3-1+b1: normalized package name match | Debian stable package indexes: libclblast-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tuned OpenCL BLAS library (development files) | https://cnugteren.github.io/clblast/clblast.html
- Debian apt - libclblast1 - 1.6.3-1+b1: normalized package name match | Debian stable package indexes: libclblast1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tuned OpenCL BLAS library | https://cnugteren.github.io/clblast/clblast.html
- Nix - clblast: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clblast/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - clblast-tests - 1.6.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: clblast-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tests for CLBlast | https://cnugteren.github.io/clblast/clblast.html
- Ubuntu apt - clblast-utils - 1.6.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: clblast-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities for CLBlast | https://cnugteren.github.io/clblast/clblast.html
- Ubuntu apt - libclblast-dev - 1.6.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libclblast-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tuned OpenCL BLAS library (development files) | https://cnugteren.github.io/clblast/clblast.html
- Ubuntu apt - libclblast1 - 1.6.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libclblast1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tuned OpenCL BLAS library | https://cnugteren.github.io/clblast/clblast.html
- dnf - clblast - 1.6.3-10.fc45: normalized package name match | Fedora Rawhide package metadata: clblast from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tuned OpenCL BLAS routines | https://cnugteren.github.io/clblast/clblast.html
- dnf - clblast-clients - 1.6.3-10.fc45: normalized package name match | Fedora Rawhide package metadata: clblast-clients from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Clients for clblast | https://cnugteren.github.io/clblast/clblast.html
- dnf - clblast-devel - 1.6.3-10.fc45: normalized package name match | Fedora Rawhide package metadata: clblast-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Headers and libraries for CLBlast | https://cnugteren.github.io/clblast/clblast.html
- dnf - clblast-tuners - 1.6.3-10.fc45: normalized package name match | Fedora Rawhide package metadata: clblast-tuners from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tuners for clblast | https://cnugteren.github.io/clblast/clblast.html
- pacman - clblast - 1.7.0-1: normalized package name match | Arch Linux sync databases: clblast from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tuned OpenCL BLAS library | https://github.com/CNugteren/CLBlast
- MacPorts - clblast: normalized package name match | MacPorts ports tree: math/clblast/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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