# clblas を Homebrew, MacPorts, Nix, apt, zypper でインストール

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

## インストール

```sh
sudo av install brew:clblas
```

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

### macOS

- Homebrew (100%):

```sh
brew install clblas
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clblas
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#clblas
```

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

- Ubuntu apt (92%):

```sh
sudo apt install clblas-client
```

  証拠: Ubuntu 24.04 LTS package indexes: clblas-client from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install clBLAS-devel
```

  証拠: openSUSE Tumbleweed package metadata: clBLAS-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:clblas
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.12
- **ソース概要:** Library containing BLAS functions written in OpenCL
- **ホームページ:** <https://github.com/clMathLibraries/clBLAS>
- **リポジトリ:** <https://github.com/clMathLibraries/clBLAS>
- **最終更新:** 2026-07-10T13:05:06-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clBLAS-tune (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

clBLAS is the OpenCL BLAS component of AMD's clMath libraries. Its README describes a full BLAS level 1, 2, and 3 implementation that generates and enqueues optimized OpenCL kernels while leaving OpenCL state management under user control.

### プロジェクトの歴史

The repository changelog carries AMD copyright from 2013 and records version 1.0 as the initial release, initially Linux64-only. Version 1.10 in April 2013 expanded level-1 coverage and tested against AMD APP SDK and runtime driver versions.

The modern README says the repository houses the OpenCL BLAS portion of clMath and that APPML 1.12 was the current generally available pre-packaged binary release for Linux and Windows. A January 2017 update note identifies v2.12 as a bugfix rollup from the develop branch.

### 採用の歴史

clBLAS became a packaged OpenCL numerical library for developers targeting heterogeneous computing before vendor-neutral GPU math stacks consolidated. The batch metadata lists Homebrew, MacPorts, Nix, Ubuntu, and openSUSE packaging, with related client/development package names.

Its upstream release train appears to have slowed after the 2.12 bugfix rollup, but the package remains historically important as one of the recognizable OpenCL BLAS implementations available through Unix package managers.

### 使われ方

Developers use clBLAS by creating OpenCL contexts, queues, and buffers, calling clblasSetup, invoking BLAS routines such as clblasSgemm, waiting for events, reading buffers, and finally calling clblasTeardown. The README example shows this explicit OpenCL-buffer style.

### パッケージ好きにとっての重要性

clBLAS matters to package nerds because it packages GPU math as a shared library plus tooling in a way that depends on OpenCL ICDs, driver quality, CPU/GPU device behavior, and architecture-specific correctness. Its changelog is full of driver, GPU-family, and routine-specific caveats, the kind of details that make numerical GPU libraries unusually packaging-sensitive.

### タイムライン

- 2013: Version 1.0 is recorded as the initial release.
- 2013: Version 1.10 is released in April with additional level-1 routines.
- 2017: Version 2.12 is described as a bugfix rollup from the develop branch.
- 2017: v2.12 tags are present in the official Git repository.

### Related projects

- clMath is the broader AMD library family named by the README.
- OpenCL is the compute API used directly by clBLAS callers.
- Netlib BLAS is the routine model referenced by the README.
- clMAGMA appears in the changelog as a test/compatibility consumer.
- CLBlast is a later tunable OpenCL BLAS library that explicitly compares itself with clBLAS.

### ソース

- <https://github.com/clMathLibraries/clBLAS#readme>
- <https://raw.githubusercontent.com/clMathLibraries/clBLAS/master/CHANGELOG>
- <https://github.com/clMathLibraries/clBLAS/wiki>


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Nix - clblas: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clblas/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - clblas-client - 2.12-4.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: clblas-client from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | client program for clBLAS | https://github.com/clMathLibraries/clBLAS
- Ubuntu apt - libclblas-dev - 2.12-4.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libclblas-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for clBLAS | https://github.com/clMathLibraries/clBLAS
- Ubuntu apt - libclblas-doc - 2.12-4.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libclblas-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for clBLAS | https://github.com/clMathLibraries/clBLAS
- Ubuntu apt - libclblas2t64 - 2.12-4.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libclblas2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenCL BLAS library | https://github.com/clMathLibraries/clBLAS
- zypper - clBLAS-devel - 2.12+git.20170323.cf91139-3.5: normalized package name match | openSUSE Tumbleweed package metadata: clBLAS-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Headers and devel files for clBLAS - a BLAS library for OpenCL | https://github.com/clMathLibraries/clBLAS
- zypper - libclBLAS2 - 2.12+git.20170323.cf91139-3.5: normalized package name match | openSUSE Tumbleweed package metadata: libclBLAS2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Shared library for clBLAS - a BLAS library for OpenCL | https://github.com/clMathLibraries/clBLAS
- MacPorts - clblas: normalized package name match | MacPorts ports tree: math/clblas/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/clblas.yml](https://github.com/mxcl/pkgdb/blob/main/combined/clblas.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
