pkg.soopen package index

brew / 排名 10905

使用 Homebrew, apt 安装 oclgrind

查看 oclgrind 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install oclgrind

local Homebrew formula metadata

Linux

Ubuntu apt已验证 · 92%
sudo apt install oclgrind

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

概览

软件包摘要

OpenCL device simulator and debugger

命令和别名

  • oclgrind
  • oclgrind-kernel

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:red

escape, surveillance, or offensive capability signal.

风险分类器

red 风险 · 中 置信度 · escape-surveillance-offensive

原因

  • escape, surveillance, or offensive capability signal

信号

  • text:debugger

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
oclgrind可执行文件已索引可执行文件从本地可执行文件索引发现。
oclgrind-kernel可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本26.03.1
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:oclgrind
版本26.03.1
软件包管理器Homebrew
主页https://github.com/jrprice/Oclgrind
仓库https://github.com/jrprice/Oclgrind
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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