oclgrind
« Back to VersTracker
Description:
OpenCL device simulator and debugger
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: opencl debugger simulator gpu compute developer-tools
Install: brew install oclgrind
About:
Oclgrind is a virtual OpenCL implementation that simulates device behavior in software. It provides a deterministic debugging environment to detect memory errors, race conditions, and undefined behavior in OpenCL C kernels. This allows developers to validate and debug their GPU compute code without needing physical hardware.
Key Features:
  • Software-based OpenCL 1.2/2.0 simulator
  • Memory error detection (out-of-bounds, uninitialized access)
  • Data race detection and undefined behavior analysis
  • Deterministic execution for reproducible debugging
Use Cases:
  • Debugging OpenCL kernels without access to physical GPU hardware
  • CI/CD pipeline testing for GPU-accelerated applications
  • Educational tool for learning OpenCL programming concepts
Alternatives:
  • Intel OpenCL Simulator – Intel's simulator is hardware-tied, while Oclgrind is platform-agnostic and focuses on debugging
  • Valgrind – Valgrind debugs CPU code; Oclgrind specifically targets OpenCL kernel execution
Version History
Detected Version Rev Change Commit
Sep 21, 2025 5:45pm 2 VERSION_BUMP 0fb152c9
Oct 26, 2024 9:34pm 2 VERSION_BUMP 92d9b13a