Automic VaultAutomic Vault

brew

Install clblast with Homebrew, apt, dnf, MacPorts, Nix, pacman

Tuned OpenCL BLAS library. Version 1.7.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clblast

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install clblast

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

Linux

Debian aptverified · 92%
sudo apt install clblast-tests

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

Fedora dnfverified · 92%
sudo dnf install clblast

Fedora Rawhide package metadata · clblast · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#clblast

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

Arch Linux pacmanverified · 92%
sudo pacman -S clblast

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

overview

Package summary

Tuned OpenCL BLAS library

Commands and aliases

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
clblast_tuner_copy_fastcliglobal executable
clblast_tuner_copy_padcliglobal executable
clblast_tuner_invertcliglobal executable
clblast_tuner_routine_xgemmcliglobal executable
clblast_tuner_routine_xtrsvcliglobal executable
clblast_tuner_transpose_fastcliglobal executable
clblast_tuner_transpose_padcliglobal executable
clblast_tuner_xaxpycliglobal executable
clblast_tuner_xconvgemmcliglobal executable
clblast_tuner_xdotcliglobal executable
clblast_tuner_xgemmcliglobal executable
clblast_tuner_xgemm_directcliglobal executable
clblast_tuner_xgemvcliglobal executable
clblast_tuner_xgercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.7.0
manager updated
local dataok
upstreamcurrent
latest detected1.7.0

https://github.com/CNugteren/CLBlast

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:clblast
Version1.7.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clblast
Homepagehttps://github.com/CNugteren/CLBlast
Repositoryhttps://github.com/CNugteren/CLBlast
Upstream docshttps://cnugteren.github.io/clblast/clblast.html
LicenseApache-2.0
Source archivehttps://github.com/CNugteren/CLBlast/archive/refs/tags/1.7.0.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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