Automic VaultAutomic Vault

brew

Installer oclgrind avec Homebrew, apt

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de oclgrind pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install oclgrind

local Homebrew formula metadata

Linux

Ubuntu aptvérifié · 92%
sudo apt install oclgrind

Ubuntu 24.04 LTS package indexes · oclgrind · Source: archive.ubuntu.com

aperçu

Résumé du paquet

OpenCL device simulator and debugger

Commandes et alias

  • oclgrind
  • oclgrind-kernel

historique

Historique du projet et usages

Oclgrind is an OpenCL device simulator and debugger. It runs OpenCL kernels on a virtual device backed by an LLVM IR interpreter, trading speed for observability and deterministic debugging.

Historique du projet

The upstream README says Oclgrind was originally created by James Price and Simon McIntosh-Smith at the University of Bristol. It implements a virtual OpenCL device, an OpenCL runtime with ICD support, and a platform for OpenCL development tools.

The project's feature set grew around hard-to-debug GPU programming failures: invalid memory accesses, data races, barrier divergence, instruction histograms, and interactive kernel debugging. Its architecture interprets an abstract intermediate representation rather than running on a particular GPU, making it useful for portability and correctness checks.

Release notes and build documentation show Oclgrind tracking LLVM and Clang over time. The README requires LLVM and Clang 18.0 or newer for source builds, while older release notes such as v15.5 mention updates to LLVM 3.6, illustrating the tool's long dependency relationship with the LLVM compiler stack.

Historique d'adoption

Oclgrind is a specialist tool, but it is recognized in OpenCL developer materials as a way to debug kernels without relying on vendor-specific GPU debuggers. Codeplay's SYCL/OpenCL debugging guide describes it as a go-to tool for simulating OpenCL execution and investigating portability issues.

Homebrew's formula API generated on 2026-07-01 lists stable version 26.03.1, the `oclgrind` and `oclgrind-kernel` executables, and 67 installs over 365 days. That low package-manager count fits a niche developer-debugging tool rather than a runtime dependency.

Modes d'utilisation

The normal workflow is to prefix an OpenCL application with `oclgrind`, causing the application to see Oclgrind as its OpenCL platform and device. Invalid memory accesses are reported to stderr with kernel, work-item, instruction, and source-line context when debug information is available.

Developers can install an ICD loading point so Oclgrind appears alongside other OpenCL platforms, or run it in interactive mode with a GDB-style session. The README warns that interpretation and bounds checking can be orders of magnitude slower than regular CPU execution, so users usually debug reduced problem sizes.

Pourquoi les passionnés de paquets s'y intéressent

For package metadata, Oclgrind is notable because it is both a command-line debugger and an OpenCL ICD participant. It depends on heavyweight compiler infrastructure, exposes executable tools, and intersects with OpenCL loader configuration rather than behaving like a simple standalone CLI.

Chronologie

  • University of Bristol origin: the README credits James Price and Simon McIntosh-Smith as original creators.
  • 2015-05-17: v15.5 release notes mention an LLVM 3.6 update, OpenCL C compiler improvements, performance work, atomic race fixes, and interactive debugger behavior changes.
  • 2026-07-01: Homebrew formula metadata lists stable version 26.03.1 with LLVM-related dependencies.

Related projects

  • Oclgrind is related to OpenCL ICD loaders, LLVM, Clang, SYCL/OpenCL developer tooling, and OpenCL debugging and analysis tools such as vendor debuggers and intercept layers.

posture de sécurité

Niveau de risque : red

escape, surveillance, or offensive capability signal.

Classificateur de risque

risque red · confiance moyen · escape-surveillance-offensive

Pourquoi

  • escape, surveillance, or offensive capability signal

Signaux

  • text:debugger

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 3 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
oclgrindcliexécutable global
oclgrind-kernelcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire26.03.1
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev26.03.1

https://github.com/jrprice/Oclgrind

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:oclgrind
Version26.03.1
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/oclgrind
Page d'accueilhttps://github.com/jrprice/Oclgrind
Dépôthttps://github.com/jrprice/Oclgrind
Docs amonthttps://github.com/jrprice/Oclgrind#readme
LicenceBSD-3-Clause
Archive sourcehttps://github.com/jrprice/Oclgrind/archive/refs/tags/v26.03.1.tar.gz
Dépendancesllvm@19, readline, zstd
Dépendances de compilationcmake
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Ubuntu apt95%

liboclgrind-21.10t64 21.10-4

core library for Oclgrind

https://github.com/jrprice/Oclgrind

sudo apt install liboclgrind-21.10t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: oclgrind
  • 6 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Oclgrind
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liboclgrind-21.10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liboclgrind-dev 21.10-4

development files for Oclgrind

https://github.com/jrprice/Oclgrind

sudo apt install liboclgrind-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: oclgrind
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Oclgrind
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liboclgrind-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

oclgrind 21.10-4

OpenCL device simulator

https://github.com/jrprice/Oclgrind

sudo apt install oclgrind
  • Section: universe/devel
  • Architecture: amd64
  • 4 Dépendances
  • normalized package name match
  • Correspondance par : Oclgrind
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: oclgrind from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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