macOS
brew install oclgrindlocal Homebrew formula metadata
brew
oclgrind のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install oclgrindlocal Homebrew formula metadata
sudo apt install oclgrindUbuntu 24.04 LTS package indexes · oclgrind · ソース: archive.ubuntu.com
概要
OpenCL device simulator and debugger
履歴
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.
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.
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.
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.
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.
セキュリティ状態
escape, surveillance, or offensive capability signal.
リスク red · 信頼度 中 · escape-surveillance-offensive
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
oclgrind | cli | グローバル実行可能ファイル | |
oclgrind-kernel | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/jrprice/Oclgrind
インストールメタデータ
| パッケージキー | brew:oclgrind |
|---|---|
| バージョン | 26.03.1 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/oclgrind |
| ホームページ | https://github.com/jrprice/Oclgrind |
| リポジトリ | https://github.com/jrprice/Oclgrind |
| 上流ドキュメント | https://github.com/jrprice/Oclgrind#readme |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/jrprice/Oclgrind/archive/refs/tags/v26.03.1.tar.gz |
| 依存関係 | llvm@19, readline, zstd |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oclgrind |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
liboclgrind-21.10t64 21.10-4
core library for Oclgrind
https://github.com/jrprice/Oclgrind
sudo apt install liboclgrind-21.10t64liboclgrind-dev 21.10-4
development files for Oclgrind
https://github.com/jrprice/Oclgrind
sudo apt install liboclgrind-devoclgrind 21.10-4
OpenCL device simulator
https://github.com/jrprice/Oclgrind
sudo apt install oclgrindソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.